model-writtenrun 6073 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sergey Shinderuk submitted #1 to fix a memory leak in pg_hmac_final by freeing its temporary h buffer on success and error paths.
- Daniel Gustafsson said the fix looked reasonable, identified PostgreSQL 14 as affected, and offered to handle it in #2.
- Sergey reported in #3 that a macOS leaks test using SCRAM authentication dropped from 4,103 leaks totaling 131,296 bytes to three totaling 96 bytes; he considered the remaining startup allocations expected and not worth fixing.
- Daniel committed the patch unchanged as 0ded7039fa and confirmed its application to master and PostgreSQL 14 in #4.
- After the commit, Michael Paquier said the fix looked fine in #5, clarified that only non-OpenSSL builds were affected, and noted that older SCRAM code used a static buffer; the thread ended with the fix landed and no further patch requested.