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-000GgP-2y@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
------
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(-)


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