pgsql: Fix use-after-free issue in slot synchronization. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Fix use-after-free issue in slot synchronization.
Date
Msg-id E1uthCJ-000GgR-36@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix use-after-free issue in slot synchronization.

Author: Shlok Kyal <shlok.kyal.oss@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Backpatch-through: 18, where it was introduced
Discussion: https://postgr.es/m/CANhcyEXMrcEdzj-RNGJam0nJHM4y+ttdWsgUCFmXciM7BNKc7A@mail.gmail.com

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8df3d355db0fcb56535644c5ea2f4ae6f7dfacdf

Modified Files
--------------
src/backend/replication/logical/slotsync.c | 3 ++-
src/backend/replication/slotfuncs.c        | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: libpq: Fix PQtrace() format for non-printable characters
Next
From: Richard Guo
Date:
Subject: pgsql: Fix planner error when estimating SubPlan cost