Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hdx1b-0003Lr-Sq for pgsql-committers@arkaria.postgresql.org; Thu, 20 Jun 2019 13:22:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hdx1Z-00023L-Nr for pgsql-committers@arkaria.postgresql.org; Thu, 20 Jun 2019 13:22:45 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcrT8-00056R-DT for pgsql-committers@lists.postgresql.org; Mon, 17 Jun 2019 13:14:42 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcrT5-0006Ch-FK for pgsql-committers@lists.postgresql.org; Mon, 17 Jun 2019 13:14:42 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcrT3-0000aM-LO for pgsql-committers@lists.postgresql.org; Mon, 17 Jun 2019 13:14:37 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1hcrT3-0005Ug-3V for pgsql-committers@lists.postgresql.org; Mon, 17 Jun 2019 13:14:37 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Michael Paquier Subject: pgsql: Fix buffer overflow when processing SCRAM final message in libpq Message-Id: Date: Mon, 17 Jun 2019 13:14:37 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Prec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