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 1hdx1a-0003Ls-Rc for pgsql-committers@arkaria.postgresql.org; Thu, 20 Jun 2019 13:22:46 +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-00023g-Nw 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-00056Q-DE 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-0006Cg-FJ 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-0000aN-LN 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-0005Ue-3U 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: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