From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8d52d4fbf051d828,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.95.2 with SMTP id dg2mr3214819wib.2.1347408660228; Tue, 11 Sep 2012 17:11:00 -0700 (PDT) Path: q11ni19519068wiw.1!nntp.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.144.MISMATCH!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsgate.cuhk.edu.hk!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Status of GNADE ODBC under Debian 64-bit Date: Mon, 3 Sep 2012 21:17:36 +0200 Organization: cbb software GmbH Message-ID: Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-09-03T21:17:36+02:00 List-Id: What is the status of the bug reported by Ludovic Brenta: https://sourceforge.net/tracker/?func=detail&aid=1591916&group_id=23045&atid=377331 I am asking because it seems there that the latest version of libgnadeodbc2 has the issue not resolved. In particular gnu-db-sqcli.adb has GetData declared as: function GetData (StatementHandle : in SQLHSTMT; ColumnNumber : in SQL_Column_Number; TargetType : in SQL_C_DATA_TYPE; TargetValue : in SQLPOINTER; BufferLength : in SQLINTEGER; StrLen_Or_Ind : access SQLINTEGER) return SQLRETURN; This is wrong and causes programs using GNADE ODBC crash. BufferLength must have been SQLLEN. StrLen_Or_Ind must have been access SQLLEN. The type SQLLEN is 64-bit under Debian 64-bit (32-bit under Debian 32-bit). -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de