Bug #800: Bad free in function PQclear - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #800: Bad free in function PQclear
Date
Msg-id 20021018093814.47964476003@postgresql.org
Whole thread Raw
Responses Re: Bug #800: Bad free in function PQclear  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Yvan Maillet (ymaillet@dialoca.com) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Bad free in function PQclear

Long Description
I use the libc library with the version 7.0.2-17.

I send a query with bad function.

The server answer me an error with text : ERROR:  Function 'octet_length(unknown)' does not exist
    Unable to identify a function that satisfies the given argument types
    You may need to add explicit typecasts.

Then,  i call PQclear to free result context, the core is dump with memory fault.

Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Pg 7.2.3 int8 value out of range
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #801: now() in transaction