pgsql: Fix dangling pointer problem in ReorderBufferSerializeChange.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix dangling pointer problem in ReorderBufferSerializeChange.
Дата
Msg-id E1bpGli-0008Gn-BN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix dangling pointer problem in ReorderBufferSerializeChange.

Commit 3fe3511d05127cc024b221040db2eeb352e7d716 introduced a new
case into this function, but neglected to ensure that the "ondisk"
pointer got updated after a possible reallocation as the code does
in other cases.

Stas Kelvich, per diagnosis by Konstantin Knizhnik.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/308985b0b404a5891a1a629f38cc46c2b2dcb4be

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 3 +++
1 file changed, 3 insertions(+)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix dangling pointer problem in ReorderBufferSerializeChange.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Fix CRC check handling in get_controlfile