X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 63F4611F61B8 for ; Fri, 28 Apr 2006 05:59:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 23205-01 for ; Fri, 28 Apr 2006 05:59:11 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id BEB9C11F61C5 for ; Fri, 28 Apr 2006 05:59:10 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id C835386C419; Fri, 28 Apr 2006 08:59:11 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 21053-05; Fri, 28 Apr 2006 05:59:02 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 6EECE86C506; Fri, 28 Apr 2006 08:59:02 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000573 ] UNICODE-psqlODBC crashes with buffer overrun when connecting to database Content-type: text/plain; charset=UTF-8 Message-Id: <20060428085902.6EECE86C506@pgfoundry.org> Date: Fri, 28 Apr 2006 08:59:02 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/132 X-Sequence-Number: 7659 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