[ psqlodbc-Bugs-1000573 ] UNICODE-psqlODBC crashes with buffer overrun when connecting to database

[ psqlodbc-Bugs-1000573 ] UNICODE-psqlODBC crashes with buffer overrun when connecting to database

am 28.02.2006 20:43:23 von noreply

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=10005 73&group_id=1000125

Category: None
Group: None
Status: Open
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).


------------------------------------------------------------ ----------

You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=10005 73&group_id=1000125

---------------------------(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