BUG #1823: ODBC buffer overflow ? - Mailing list pgsql-bugs

From Marcello Semboli
Subject BUG #1823: ODBC buffer overflow ?
Date
Msg-id 20050812112445.6C276F0B08@svr2.postgresql.org
Whole thread Raw
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: "Bernard"
Date:
Subject: BUG #1821: Source RPM: Missing dependency ncurses-devel
Next
From: "Everton Johnny"
Date:
Subject: BUG #1824: Error '?' on vizualition data