Re: SQLGetInfo buffer overflow?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ludek Finstrle <luf(at)pzkagis(dot)cz>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: SQLGetInfo buffer overflow?
Date: 2006-01-28 17:25:08
Message-ID: 18332.1138469108@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Ludek Finstrle <luf(at)pzkagis(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2006-01-28 21:25:58 Re: Disallow premature is broken
Previous Message Aldo Nakamura 2006-01-27 23:20:17 Unsubscribe