Incorrect allocation handling for cryptohash functions with OpenSSL

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Incorrect allocation handling for cryptohash functions with OpenSSL
Дата
Msg-id
X9xbuEoiU3dlImfa@paquier.xyz
Список
Дерево обсуждения
Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Robert Haas <robertmhaas@gmail.com>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Heikki Linnakangas <hlinnaka@iki.fi>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Re: Incorrect allocation handling for cryptohash functions with OpenSSL Michael Paquier <michael@paquier.xyz>
Hi all,

As of the work done in 87ae9691, I have played with error injections
in the code paths using this code, but forgot to count for cases where
cascading resowner cleanups are involved.  Like other resources (JIT,
DSM, etc.), this requires an allocation in TopMemoryContext to make
sure that nothing gets forgotten or cleaned up on the way until the
resowner that did the cryptohash allocation is handled.

Attached is a small extension I have played with by doing some error
injections, and a patch.  If there are no objections, I would like to
commit this fix.

Thanks,
--
Michael
В списке pgsql-hackers по дате отправления
От: Justin Pryzby
Дата:
Сообщение: Re: allow to \dtS+ pg_toast.*
От: Tang, Haiying
Дата:
FAQ