model-writtenrun 277 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada relayed an Anthropic OSS program report about unchecked publisher-supplied sequence indexes causing out-of-bounds writes and attached a range-check patch; the security team had treated the report as a non-vulnerability bug because it affected v19 beta code #1.
- Amit Kapila approved the range check and proposed receiving the index as INT4OID instead of INT8OID to avoid silent truncation, and Masahiko agreed to include that related fix in the same change #2 #4.
- Chao Li questioned relying on an assertion for NULL indexes and corrected Masahiko's assumption that NULL would necessarily fail the bounds check; Masahiko kept the scope to preventing memory corruption because valid but incorrect indexes cannot be distinguished from legitimate values, leaving conversion of all nine NULL assertions to a possible separate patch #3 #5 #6 #7.
- Chao requested a clearer explanation that the check cannot detect incorrect indexes within the valid range, Masahiko supplied the expanded comment, and Chao approved it #8 #9 #10.
- The patch from #1 landed as 7a7f606161 with the expanded comment and INT4OID receive type, with a backport to v19; Masahiko's final message confirmed the push, completing the proposed fix while leaving broader NULL validation outside its scope #11.