Re: pg_dump: Fix dangling pointer in EndCompressorZstd()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg_dump: Fix dangling pointer in EndCompressorZstd()
Дата
Msg-id aAAvYUxZW7wibC66@paquier.xyz
обсуждение исходный текст
Ответ на Re: pg_dump: Fix dangling pointer in EndCompressorZstd()  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: pg_dump: Fix dangling pointer in EndCompressorZstd()
Список pgsql-hackers
On Wed, Apr 16, 2025 at 04:19:02PM +0200, Daniel Gustafsson wrote:
> Agreed, while it's perfectly safe today the end method should not make
> assumptions about the use of the private_data pointer upon return and should
> leave it set to NULL.

Indeed.  I was just looking at applying what Alexander has sent
because what EndCompressorZstd() not doing what the other methods do
makes no sense.  Perhaps you are already on it, Daniel?
--
Michael

Вложения

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