Re: SQLGetInfo buffer overflow? - Mailing list pgsql-odbc

From Tom Lane
Subject Re: SQLGetInfo buffer overflow?
Date
Msg-id 18332.1138469108@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQLGetInfo buffer overflow?  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc
Ludek Finstrle <luf@pzkagis.cz> writes:
> Wed, Jan 25, 2006 at 06:16:22PM +0100, Ludek Finstrle napsal(a):
>> Wed, Jan 25, 2006 at 11:52:13AM -0500, Tom Lane napsal(a):
>>> Anyone have a comment on
>>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=178925
>>
>> I see no problem without Unicode support. I'm not sure with unicode version.
> I test unicode driver 08.01.0106 on CentOS 4.2 x86_64 without such problem.

Argh, false alarm: the reporter was *not* using psqlodbc, he was using
the ancient and unmaintained version embedded in the unixODBC package.
That predates the bug fix applied here:
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/info.c.diff?r1=1.89&r2=1.90

Sorry for the noise.

            regards, tom lane

pgsql-odbc by date:

Previous
From: Aldo Nakamura
Date:
Subject: Unsubscribe
Next
From: Dave Page
Date:
Subject: Re: Disallow premature is broken