Re: using explicit_bzero

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: using explicit_bzero
Дата
Msg-id 20190711011145.GE4500@paquier.xyz
обсуждение исходный текст
Ответ на Re: using explicit_bzero  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: using explicit_bzero  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Jun 24, 2019 at 02:08:50PM +0900, Michael Paquier wrote:
> CreateRole() and AlterRole() can manipulate a password in plain format
> in memory.  The cleanup could be done just after calling
> encrypt_password() in user.c.
>
> Could it be possible to add the new flag in pg_config.h.win32?

While remembering about it...  Shouldn't the memset(0) now happening in
base64.c for the encoding and encoding routines when facing a failure
use explicit_zero()?
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [sqlsmith] Crash in mcv_get_match_bitmap
Следующее
От: Robert Haas
Дата:
Сообщение: Re: progress report for ANALYZE