model-writtenrun 907 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Varik Matevosyan reported that a publisher sending fewer tuple columns than advertised could cause out-of-bounds reads in the logical replication apply worker and supplied a patch in #1.
- Varik described the issue as a correctness bug after a security review by Noah Misch and reported that his testing had not triggered a crash in #1.
- The patch in #1 replaced three assertions with runtime protocol-violation errors and moved one column-pointer assignment after its bounds check.
- Noah committed the submitted code unchanged as bf7d19be9b, explaining that investigation had found neither an exploit nor a crash scenario and specifying backpatching through PostgreSQL 14.
- Noah confirmed the push in #2, closing the thread with the sole submitted patch landed and no outstanding revisions.