pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix use-after-free issue in slot synchronization.
Date: Wed, 03 Sep 2025 06:42:23 +0000
Message-ID: <E1uthCJ-000GgR-36@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1uthCJ-000GgR-36@gemulon.postgresql.org>
Permalink:  ../E1uthCJ-000GgR-36@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uthCJ-000GgR-36@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix use-after-free issue in slot synchronization.
  In-Reply-To: <E1uthCJ-000GgR-36@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox