pgsql: Use explicit_bzero() when clearing sslpassword in libpq

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use explicit_bzero() when clearing sslpassword in libpq
Date: 2020-05-21 06:54:57
Message-ID: E1jbf6X-0007d7-JZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2020-05-21 15:32:28 pgsql: Clear some style deviations.
Previous Message Michael Paquier 2020-05-21 05:43:18 pgsql: Fix MSVC installations with multiple "configure" files detected