Fix use-after-free issue in slot synchronization.

Amit Kapila <akapila@postgresql.org>

Commit: 8df3d355db0fcb56535644c5ea2f4ae6f7dfacdf
Author: Amit Kapila <akapila@postgresql.org>
Date: 2025-09-03T06:17:08Z
Releases: 18.0
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

Files

Discussion