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-0003Ls-Te 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-00023f-Nu for pgsql-committers@arkaria.postgresql.org; Thu, 20 Jun 2019 13:22:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcrT6-00056F-Ao for pgsql-committers@lists.postgresql.org; Mon, 17 Jun 2019 13:14:40 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcrT3-0003Fc-WB for pgsql-committers@lists.postgresql.org; Mon, 17 Jun 2019 13:14:39 +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-0000aO-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-0005Uh-3X 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: Precedence: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