Re: explicit_bzero for sslpassword

2020-05-21 Thread Michael Paquier
On Wed, May 20, 2020 at 10:06:55AM +0200, Peter Eisentraut wrote: > Looks correct to me. Thanks for confirming, Peter. Got this one applied. -- Michael signature.asc Description: PGP signature

Re: explicit_bzero for sslpassword

2020-05-20 Thread Peter Eisentraut
On 2020-05-20 07:56, Michael Paquier wrote: On Tue, May 19, 2020 at 02:33:40PM +0200, Daniel Gustafsson wrote: Since commit 74a308cf5221f we use explicit_bzero on pgpass and connhost password in libpq, but not sslpassword which seems an oversight. The attached performs an explicit_bzero before

Re: explicit_bzero for sslpassword

2020-05-19 Thread Michael Paquier
On Tue, May 19, 2020 at 02:33:40PM +0200, Daniel Gustafsson wrote: > Since commit 74a308cf5221f we use explicit_bzero on pgpass and connhost > password in libpq, but not sslpassword which seems an oversight. The attached > performs an explicit_bzero before freeing like the pattern for other passwo

explicit_bzero for sslpassword

2020-05-19 Thread Daniel Gustafsson
Since commit 74a308cf5221f we use explicit_bzero on pgpass and connhost password in libpq, but not sslpassword which seems an oversight. The attached performs an explicit_bzero before freeing like the pattern for other password variables. cheers ./daniel sslpassword_bzero.patch Description: Bi