pgsql: Use explicit_bzero() when clearing sslpassword in libpq

2020-05-20 Thread Michael Paquier
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-

pgsql: Use explicit_bzero

2019-09-04 Thread Peter Eisentraut
Use explicit_bzero Use the explicit_bzero() function in places where it is important that security information such as passwords is cleared from memory. There might be other places where it could be useful; this is just an initial collection. For platforms that don't have explicit_bzero(), provi