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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-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

Browse pgsql-bugs by date

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

Browse pgsql-hackers by date

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

Browse pgsql-php by date

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