explicit_bzero for sslpassword

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: explicit_bzero for sslpassword
Date: 2020-05-19 12:33:40
Message-ID: 935443BA-D42E-4CE0-B181-1AD79E6DD45A@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
sslpassword_bzero.patch application/octet-stream 979 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-05-19 12:50:42 Re: Two fsync related performance issues?
Previous Message Pavel Stehule 2020-05-19 12:33:38 Re: factorial function/phase out postfix operators?