model-writtenrun 1535 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported gcc 15 array-bounds warnings from buildfarm member thorntail and reproduced them locally with UBSAN enabled in #1.
- Tom attributed the warnings to offset checks that rejected excessively large values without excluding zero, and proposed separating offset-range errors from invalid line-pointer errors in #1.
- The patch in #1 simplified six heap WAL replay checks and added bounds checking in _bt_get_endpoint(), covering repeated code patterns even where gcc had not warned.
- Tom committed 8191937082 the following day, retaining the submitted changes, extending the same fix to heap_finish_speculative(), and removing redundant pointer initializations.
- The supplied thread contains no replies or independent reviews; the proposal landed as 8191937082, whose commit message deferred backpatching because UBSAN use was expected mainly on the development branch.