pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use explicit_bzero() when clearing sslpassword in libpq
Date: Thu, 21 May 2020 06:54:57 +0000
Message-ID: <E1jbf6X-0007d7-JZ@gemulon.postgresql.org> (raw)

Use explicit_bzero() when clearing sslpassword in libpq

Since 74a308c, any security-sensitive information gets cleared from
memory this way.  This was forgotten in 4dc6355.

Author: Daniel Gustafsson
Reviewed-by: Peter Eisentraut, Michael Paquier
Discussion: https://postgr.es/m/935443BA-D42E-4CE0-B181-1AD79E6DD45A@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e4db972ed5f12c09403ff0be24e12e5d4032aaaa

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 3 +++
1 file changed, 3 insertions(+)



Message-ID: <E1jbf6X-0007d7-JZ@gemulon.postgresql.org>
Permalink:  ../E1jbf6X-0007d7-JZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jbf6X-0007d7-JZ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Use explicit_bzero() when clearing sslpassword in libpq
  In-Reply-To: <E1jbf6X-0007d7-JZ@gemulon.postgresql.org>
  References: <E1jbf6X-0007d7-JZ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox