BUG #1823: ODBC buffer overflow ?

From: "Marcello Semboli" <dinogen(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1823: ODBC buffer overflow ?
Date: 2005-08-12 11:24:45
Message-ID: 20050812112445.6C276F0B08@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1823
Logged by: Marcello Semboli
Email address: dinogen(at)yahoo(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message Everton Johnny 2005-08-12 11:39:59 BUG #1824: Error '?' on vizualition data
Previous Message Bernard 2005-08-12 06:24:04 BUG #1822: header file <krb5.h>