Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atYCE-0002qV-6b for pgsql-odbc@arkaria.postgresql.org; Fri, 22 Apr 2016 10:20:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1atYCD-0000sm-Ob for pgsql-odbc@arkaria.postgresql.org; Fri, 22 Apr 2016 10:20:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1atYBr-0000QA-9o for pgsql-odbc@postgresql.org; Fri, 22 Apr 2016 10:19:59 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1atYBP-0000DU-Ir for pgsql-odbc@postgresql.org; Fri, 22 Apr 2016 10:19:58 +0000 Received: from msg.df7cb.de (benz.df7cb.de [IPv6:2001:6f8:10ee:e:134::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3qrs6c38g2z3Dx4; Fri, 22 Apr 2016 12:19:20 +0200 (CEST) Date: Fri, 22 Apr 2016 12:19:28 +0200 From: Christoph Berg To: Pavel Raiskup Cc: pgsql-odbc@postgresql.org, Hiroshi Saito Subject: Re: psqlODBC 09.05.0200 Released Message-ID: <20160422101928.GC4890@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Pavel Raiskup , pgsql-odbc@postgresql.org, Hiroshi Saito References: <20160409143629.2BC5CB4C40D@winpg.jp> <2358560.7dzo2vKd9I@nb.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2358560.7dzo2vKd9I@nb.usersys.redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.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 Re: Pavel Raiskup 2016-04-14 <2358560.7dzo2vKd9I@nb.usersys.redhat.com> > Hi, fyi, I keep getting... Hi, I'm getting exactly the same diff on Debian unstable. Do we simply have to update expected/param-conversions{,_1}.out or is there a bug in the (testing?) code? > + 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. Christoph -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc