X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A7F739DCBFA for ; Tue, 28 Feb 2006 15:43:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92112-08 for ; Tue, 28 Feb 2006 15:43:25 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id AB9A09DCB85 for ; Tue, 28 Feb 2006 15:43:23 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 63FA11033853; Tue, 28 Feb 2006 19:43:25 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92608-06; Tue, 28 Feb 2006 15:43:23 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 63A98103383F; Tue, 28 Feb 2006 19:43:23 +0000 (GMT) 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: <20060228194323.63A98103383F@pgfoundry.org> Date: Tue, 28 Feb 2006 19:43:23 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.729 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.161, NO_REAL_NAME=0.55] X-Spam-Score: -0.729 X-Spam-Level: X-Archive-Number: 200602/154 X-Sequence-Number: 7283 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: 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=1000573&group_id=1000125