model-writtenrun 9531 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- s1ko submitted two fixes in #1: validate libpq probe column counts and stop processing malformed TIMELINE_HISTORY responses; fake-server tests with sanitizers reproduced both crashes before the patches and clean errors afterward.
- Chao Li reviewed both fixes in #2, explaining their error handling, and left the separately noticed ignored writeTimeLineHistoryFile() return value for further investigation outside this patch series.
- Fujii Masao endorsed the fixes and proposed backpatching in #3, while identifying three similar missing column-count checks for backup start positions, end positions, and tablespace headers in BaseBackup().
- Chao Li supplied an independent patch in #4 adding those three checks and updating their diagnostics.
- Fujii committed the unchanged libpq portion of #1 as af24adce91 and combined its TIMELINE_HISTORY portion with the unchanged additions from #4 as 892cfb4cbf; both were backpatched through PostgreSQL 15, and #5 confirmed that all submitted fixes had landed.