model-writtenrun 617 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Haas proposed bounds checks for WAL-summary chunk sizes and fork numbers in #1, explaining that malformed files could cause crashes and that the security team considered this a bug rather than a security issue; he requested backpatching through PostgreSQL 17.
- Daniel Gustafsson reviewed the initial patch in #2, verified that error returns would not leak the chunk-size allocation, supported backpatching, and suggested including the offending size in the error.
- Robert questioned the diagnostic value for this unlikely failure in #3, while Daniel explained in #4 that the detail could help developers debugging mistakes and would match the fork-number diagnostic.
- Robert supplied #5 with both the chunk index and size in the error message, and Daniel approved that version in #6.
- The final patch landed as ee654419d5 with identical code and light commit-message edits, including the backpatch instruction; Robert confirmed completion in #7, leaving no outstanding work in the thread.