pgsql: Fix use-after-free issue in slot synchronization.
pgsql: Fix use-after-free issue in slot synchronization.
От:
Amit Kapila <akapila@postgresql.org>
Дата:
Fix use-after-free issue in slot synchronization. Author: Shlok Kyal Reviewed-by: Daniel Gustafsson Reviewed-by: Amit Kapila Backpatch-through: 18, where it was introduced Discussion: https://postgr.es/m/CANhcyEXMrcEdzj-RNGJam0nJHM4y+ttdWsgUCFmXciM7BNKc7A@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f2dbc83501d441a98f7799863e1b6f18af8e8fbe Modified Files -------------- src/backend/replication/logical/slotsync.c | 3 ++- src/backend/replication/slotfuncs.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)