Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqhdV-00054H-2s for pgsql-odbc@arkaria.postgresql.org; Thu, 14 Apr 2016 13:48:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqhdU-0000eW-Hq for pgsql-odbc@arkaria.postgresql.org; Thu, 14 Apr 2016 13:48:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqhd8-0000DW-6L; Thu, 14 Apr 2016 13:48:22 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqhd5-0003Xd-D5; Thu, 14 Apr 2016 13:48:21 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B06883B71F; Thu, 14 Apr 2016 13:48:18 +0000 (UTC) Received: from nb.usersys.redhat.com (unused-4-108.brq.redhat.com [10.34.4.108]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3EDmHxA020887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Apr 2016 09:48:18 -0400 From: Pavel Raiskup To: pgsql-odbc@postgresql.org Cc: Hiroshi Saito , pgsql-announce@postgresql.org Subject: Re: psqlODBC 09.05.0200 Released Date: Thu, 14 Apr 2016 15:48:16 +0200 Message-ID: <2296086.oEo0rgFRTN@nb.usersys.redhat.com> User-Agent: KMail/4.14.10 (Linux/4.4.6-301.fc23.x86_64; KDE/4.14.18; x86_64; ; ) In-Reply-To: <2358560.7dzo2vKd9I@nb.usersys.redhat.com> References: <20160409143629.2BC5CB4C40D@winpg.jp> <2358560.7dzo2vKd9I@nb.usersys.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Pg-Spam-Score: -7.9 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On Thursday 14 of April 2016 15:47:06 Pavel Raiskup wrote: > Hi, fyi, I keep getting... > > + cat ./regression.diffs > *** ./expected/param-conversions.out Sat Apr 9 14:19:08 2016 > --- results/param-conversions.out Thu Apr 14 15:44:56 2016 > *************** > *** 72,83 **** > > Testing "SELECT 1.3 > ?" with SQL_C_CHAR -> SQL_FLOAT param "3', 'injected, BAD!', '1"... > SQLExecDirect failed > ! 22P02=ERROR: invalid input syntax for type double precision: "3', 'injected, BAD!', '1"; > Error while executing the query > > Testing "SELECT 1.4 > ?" with SQL_C_CHAR -> SQL_FLOAT param "4 \'bad', '1"... > SQLExecDirect failed > ! 22P02=ERROR: invalid input syntax for type double precision: "4 \'bad', '1"; > Error while executing the query > > Testing "SELECT 1-?" with SQL_C_CHAR -> SQL_INTEGER param "-1"... > --- 72,83 ---- > > Testing "SELECT 1.3 > ?" with SQL_C_CHAR -> SQL_FLOAT param "3', 'injected, BAD!', '1"... > SQLExecDirect failed > ! 22P02=ERROR: invalid input syntax for type numeric: "3', 'injected, BAD!', '1"; > Error while executing the query > > Testing "SELECT 1.4 > ?" with SQL_C_CHAR -> SQL_FLOAT param "4 \'bad', '1"... > SQLExecDirect failed > ! 22P02=ERROR: invalid input syntax for type numeric: "4 \'bad', '1"; > Error while executing the query > > Testing "SELECT 1-?" with SQL_C_CHAR -> SQL_INTEGER param "-1"... > + read line > > ... on Fedora 23. I'll try to look more carefuly next week unless there > is somebody quicker than me. > > Thanks, Pavel Full log: https://kojipkgs.fedoraproject.org//work/tasks/9375/13659375/build.log Pavel -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc