Re: Fix uninitialized xl_running_xacts padding

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix uninitialized xl_running_xacts padding
Дата
Msg-id aY7z0NH83hnaGR7k@paquier.xyz
обсуждение
Ответ на Fix uninitialized xl_running_xacts padding  (Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>)
Ответы Re: Fix uninitialized xl_running_xacts padding
Список pgsql-hackers
On Fri, Feb 13, 2026 at 10:39:14AM +0100, Anthonin Bonnefoy wrote:
> The 3 bytes of padding after subxid_overflow were left uninitialized,
> leading to the random 'ca ce 9b' data being written in the WAL. The
> attached patch fixes the issue by zeroing the xl_running_xacts
> structure in LogCurrentRunningXacts using MemSet.

This uninitialized padding exists for as long as this code exists,
down to efc16ea52067.  No objection here to clean up that on HEAD.
--
Michael

Вложения

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