Oct 2025

1 commit
Fix reuse-after-free hazard in dead_items_reset
3 Oct 2025John Naylormaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1REL_17_STABLE17.7
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The commit applies the same parallel_vacuum_get_dead_items() assignment in dead_items_reset() as #1; the only code difference is wrapping the call onto two lines in src/backend/access/heap/vacuumlazy.c.

  • Richard Guosaw the final versiontrailerRichard reproduced the failure by inserting an extra allocation and confirmed that the patch fixed it #2.
  • John Naylorsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Kevin Oommen Anish1
Reviewer
John Naylorcommitter1
Richard Guo1
Tested by
Richard Guo1
Committer
John Naylor1