From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000573 ] UNICODE-psqlODBC crashes with buffer overrun when connecting to database
Date: Fri, 28 Apr 2006 08:59:02 +0000 (UTC)
Message-ID: <20060428085902.6EECE86C506@pgfoundry.org> (raw)
Bugs item #1000573, was opened at 2006-02-28 19:43
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000573&group_id=1000125
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 3
Submitted By: Christian Schlomann (christian_tbs)
Assigned to: Nobody (None)
Summary: UNICODE-psqlODBC crashes with buffer overrun when connecting to database
Initial Comment:
When using the Unicode-Version of the ODBC-Driver V.8.01.0200 plus using Unicode in Visual C++ (VS 2003) (project properties switched to unicode and _UNICODE defined) the call to CDatabase::OpenEx(_T("connection string...")) failed.
The debugger stopped when returning from Connect() with buffer overrun error. I tried different connection strings with the same result.
OK, for now I will use the MBCS-Version. After switching VC++ to multibyte character, the connection works (with both Versions of psqlODBC).
----------------------------------------------------------------------
>Comment By: Dave Page (dpage)
Date: 2006-04-28 08:59
Message:
No reposnse from user - assumed working.
----------------------------------------------------------------------
Comment By: Hiroshi Inoue (hinoue)
Date: 2006-03-01 23:38
Message:
This seems because of a bug of CDatabase::OpenEx in the unicode version. I have a modified REL-07_03_ENHANCED version which has an option to avoid the error. Would you try it ?
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000573&group_id=1000125
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000573 ] UNICODE-psqlODBC crashes with buffer overrun when connecting to database
In-Reply-To: <20060428085902.6EECE86C506@pgfoundry.org>
References: <20060428085902.6EECE86C506@pgfoundry.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox