Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clzVa-00078G-OB for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Mar 2017 14:57:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1clzVZ-0001tj-Pa for pgsql-bugs@arkaria.postgresql.org; Thu, 09 Mar 2017 14:57:37 +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 1clzUt-0000aQ-MP for pgsql-bugs@postgresql.org; Thu, 09 Mar 2017 14:56:55 +0000 Received: from gauss.credativ.com ([93.94.130.89]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1clzUn-0004Hh-04 for pgsql-bugs@postgresql.org; Thu, 09 Mar 2017 14:56:55 +0000 Received: from gauss.credativ.com (localhost [127.0.0.1]) by gauss.credativ.com (Postfix) with ESMTP id 97E4C1E19FF; Thu, 9 Mar 2017 15:56:47 +0100 (CET) Received: from feivel.credativ.lan (fw-front.credativ.com [62.154.226.94]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mme@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id 8A2AA1E19DE; Thu, 9 Mar 2017 15:56:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by feivel.credativ.lan (Postfix) with ESMTP id 51BED2459; Thu, 9 Mar 2017 15:56:47 +0100 (CET) Message-ID: <1489071407.2338.19.camel@postgresql.org> Subject: Re: BUG #14582: ecpg crashes on SQL input From: Michael Meskes To: "Dudley, Michael" Cc: "pgsql-bugs@postgresql.org" Date: Thu, 09 Mar 2017 15:56:47 +0100 In-Reply-To: References: <20170308165659.25059.69634@wrigleys.postgresql.org> <1489065869.2338.11.camel@postgresql.org> Organization: PostgreSQL Content-Type: multipart/mixed; boundary="=-QiaUBtAh+CgEPPHUOmy5" X-Mailer: Evolution 3.22.5-1 Mime-Version: 1.0 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --=-QiaUBtAh+CgEPPHUOmy5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit > Sure--see attached. > > Luckily enough, copying the SQL from the pgsql-bugs archive > reproduces the problem as well. Could you try the attached patch please? Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL --=-QiaUBtAh+CgEPPHUOmy5 Content-Disposition: attachment; filename="ecpg.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="ecpg.patch"; charset="UTF-8" ZGlmZiAtLWdpdCBhL3NyYy9pbnRlcmZhY2VzL2VjcGcvcHJlcHJvYy9wZ2Mu bCBiL3NyYy9pbnRlcmZhY2VzL2VjcGcvcHJlcHJvYy9wZ2MubAppbmRleCA2 YjU4ZGQ1YWZlLi43YjJiZmRjY2M5IDEwMDY0NAotLS0gYS9zcmMvaW50ZXJm YWNlcy9lY3BnL3ByZXByb2MvcGdjLmwKKysrIGIvc3JjL2ludGVyZmFjZXMv ZWNwZy9wcmVwcm9jL3BnYy5sCkBAIC01NjUsNiArNTY1LDcgQEAgY3BwbGlu ZQkJCXtzcGFjZX0qIyhbXmldW0EtWmEtel0qfHtpZn18e2lmZGVmfXx7aWZu ZGVmfXx7aW1wb3J0fSkoKFwvXCpbXiovXSpcKisKIAkJCQl7CiAJCQkJCWFk ZGxpdCh5eXRleHQsIHl5bGVuZyk7CiAJCQkJCWZyZWUoZG9scXN0YXJ0KTsK KwkJCQkJZG9scXN0YXJ0ID0gTlVMTDsKIAkJCQkJQkVHSU4oU1FMKTsKIAkJ CQkJYmFzZV95eWx2YWwuc3RyID0gbW1fc3RyZHVwKGxpdGVyYWxidWYpOwog CQkJCQlyZXR1cm4gRE9MQ09OU1Q7Cg== --=-QiaUBtAh+CgEPPHUOmy5 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs --=-QiaUBtAh+CgEPPHUOmy5--