The following bug has been logged online:
Bug reference: 1823
Logged by: Marcello Semboli
Email address: dinogen@yahoo.com
PostgreSQL version: 8.0.3
Operating system: Win XP
Description: ODBC buffer overflow ?
Details:
Hi,
I administer a Windows application that write some information in a .ini
file.
Usually the application write the odbc driver that is using like this:
[DB2_07.01.0002]
RETRYCOUNT=20
RETRYWAITTIME=500
...
Wher I use odbc postgres driver I get following:
[PostgreSQL_08.00.0100 PostgreSQL 8.0.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (min<A LOT OF GARBAGE>
RETRYCOUNT=20
[PostgreSQL_08.00.0100 PostgreSQL 8.0.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (min<ANOTHER LOT OF GARBAGE>
RETRYWAITTIME=500
[PostgreSQL_08.00.0100 PostgreSQL 8.0.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (min<A LOT OF GARBAGE>
RETRYCOUNT=20
[PostgreSQL_08.00.0100 PostgreSQL 8.0.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (min<ANOTHER LOT OF GARBAGE>
RETRYWAITTIME=500
[PostgreSQL_08.00.0100 PostgreSQL 8.0.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (min<A LOT OF GARBAGE>
RETRYCOUNT=20
[PostgreSQL_08.00.0100 PostgreSQL 8.0.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (min<ANOTHER LOT OF GARBAGE>
RETRYWAITTIME=500
It seems like the driver string overruns.
Bye.