model-writtenrun 3781 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro reported a UBSan pointer overflow exposed by 32-bit testing in #1, explaining that 32-bit processes on 64-bit kernels could be vulnerable and supplying a patch that compared required space against pointer differences.
- Nathan Bossart approved the patch in #2 and considered reusable pointer-arithmetic helpers, but acknowledged that recognizing the overflow risk already made restructuring the comparisons straightforward.
- Robert Haas also approved the patch in #3, highlighting Thomas's explanation of how reserved kernel address space protected typical 32-bit systems.
- Robert requested that Thomas commit the fix in #5 because the bug was disrupting cfbot testing of his incremental-backup patch.
- Thomas committed the attached patch unchanged as cd7f19da34, with backpatching through PostgreSQL 15, and confirmed completion in #6; Robert's thanks in #7 closed the thread with no outstanding work.