pgsql: Use explicit_bzero() when clearing sslpassword in libpq

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Use explicit_bzero() when clearing sslpassword in libpq

Michael Paquier-2
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@...

Branch
------
master

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

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