Nov 2026

1 commit
Don't pfree a Path that belongs to a different parent relation.
21 Nov 2026Tom LanemasterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedAlso in: Use-after-free of a shared Path in add_path()/add_partial_path() (part of a posted patchset)
LLM analysis, 95% suremodified before commitmoderate changesfrom patchset #41 of 1 reviewer saw the final version

The commit retains both add_partial_path() guards from #4, removes diagnostic logging, adds explanatory comments, and extends the guards to add_path() following #5. This is the latest matching attachment, newer than both submissions in thread #253728; that thread supplied Jeevan Chalke's broader fix, and the commit explicitly credits him as author, although he posted no message here.

  • Tom Lanesaw the final versiontrailerTom Lane diagnosed the dangling partial path, tested the parent checks in #4, accepted the broader fix in #6, and reviewed the final version as committer.

Credits across 1 commit

Author
Jeevan Chalke1
Reviewer
Tom Lane1
Reported by
Jeevan Chalke1
Zheng Hacker1
Committer
Tom Lane1