Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL / PHP Overrun Error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mike Rogers" <temp6453(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-php(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org
Subject: Re: PostgreSQL / PHP Overrun Error
Date: 2001-09-26 16:23:02
Message-ID: 1119.1001521382@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackerspgsql-php
"Mike Rogers" <temp6453(at)hotmail(dot)com> writes:
> This problem is of great concern to me and I have been working for days
> trying to debug it myself and find other reports, with little success.  The
> line it claims to be failing on is PHP's ext/pgsql/pgsql.c on line 167 (by
> what this claims) which is the following function [the
> efree(PGG(last_notice)) line].

This isn't our code, so you'd likely have better luck complaining on
some PHP-related list.  But it looks to me like this code is simply
trying to free any previous notice message before it stores the new
one into PGG(last_notice) (whatever the heck that is).  I'm guessing
that that pointer is uninitialized or has been clobbered somehow.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Mike RogersDate: 2001-09-26 16:28:49
Subject: Re: PostgreSQL / PHP Overrun Error
Previous:From: Mike RogersDate: 2001-09-26 16:13:17
Subject: PostgreSQL / PHP Overrun Error

pgsql-bugs by date

Next:From: Mike RogersDate: 2001-09-26 16:28:49
Subject: Re: PostgreSQL / PHP Overrun Error
Previous:From: Mike RogersDate: 2001-09-26 16:13:17
Subject: PostgreSQL / PHP Overrun Error

pgsql-php by date

Next:From: Mike RogersDate: 2001-09-26 16:28:49
Subject: Re: PostgreSQL / PHP Overrun Error
Previous:From: Mike RogersDate: 2001-09-26 16:13:17
Subject: PostgreSQL / PHP Overrun Error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group