Home > Archive > PostgreSQL Bugs > August 2005 > BUG #1823: ODBC buffer overflow ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author BUG #1823: ODBC buffer overflow ?
Marcello Semboli

2005-08-12, 9:30 am


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.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com