model-writtenrun 7758 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela opened the thread with a Coverity-inspired buffer-overrun concern and a patch that propagated destination lengths into hash routines and changed SCRAM interfaces and key sizing #1.
- Kyotaro Horiguchi found incompatible prototypes and argued that an undersized buffer should cause failure rather than a truncated digest #3 #4; Michael Paquier supported runtime checks returning failure status, identified missing OpenSSL coverage, and opposed changing low-level hashes or SCRAM interfaces #5.
- Michael supplied a substantially simpler patch checking destination capacity in both cryptohash implementations, including MD5 and OpenSSL, while preserving SCRAM's fixed-length interfaces #7.
- Ranier's next revision changed pgcrypto size arguments and reordered scram_HMAC_final parameters #9; Kyotaro found dropped uuid-ossp changes, distinguished digest size from block size, and questioned protection in wrapper interfaces #10.
- Michael recommended sizeof for actual arrays and h->result_size(h) for pgcrypto, opposed the SCRAM reorder because it would complicate future backpatches, and retained the checksum interface because its callers already follow a fixed buffer-size contract #11.
- Ranier's revision introduced incorrect sizeof-minus-one calculations and retained the argument reorder #12; Michael supplied a corrected patch restoring uuid-ossp, fixing pgcrypto and buffer sizes, removing the reorder, and reusing retval for checksum digest lengths #15.
- Ranier proposed consolidating checksum finalization after the switch #16, but Michael rejected that because CRC32 requires different handling and a default branch would suppress warnings about newly added checksum types #17.
- Michael committed #15 as b83dcf7928 with only a comment adjustment and announced completion #17; Ranier acknowledged the commit in the final message, leaving no patch awaiting review #18.