Sep 2026

2 commits
Replace px_memset() with explicit_bzero()
1 Sep 2026Peter EisentrautmasterunreleasedAlso in: pgcrypto: remove useless px_memset() and BF_ASM (not this thread)
LLM analysis, 99% surelanded as postedfrom patchset #13 of 3 reviewers saw the final version

The commit matches #1 across all 18 files, apart from preserving the sizeof sha_buf_tmp correction already present in its parent in contrib/pgcrypto/crypt-sha.c. I disagree with the attribution in thread #139267: its matching source #1000830 dates from April 9, whereas this thread's matching submission dates from August 25 and therefore takes precedence under the latest-matching-patchset rule.

  • Sehrope Sarkunisaw the final versionLLM analysis, 100% sureHe inspected the patch, called the conversion mechanical and fine, and identified the existing sizeof mismatch subsequently fixed separately #3.
  • Tom Lanesaw the final versionLLM analysis, 94% sureHe supported correcting the sizeof mismatch exposed by the patch and suggested parentheses around sizeof operands #4.
  • Peter Eisentrautsaw the final versioncommittercommitted the patch
Fix memset invocation
1 Sep 2026Peter Eisentrautmasterunreleased
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

This one-line correction changes sizeof sha_buf to sizeof sha_buf_tmp in contrib/pgcrypto/crypt-sha.c, implementing Sehrope Sarkuni's observation #3 and Tom Lane's endorsement #4. The attached patch #1 did not contain this correction, and the commit credits Sehrope as reporter.

  • Sehrope Sarkunisaw the final versionLLM analysis, 100% sureHe identified the mismatched sizeof operand, established that both arrays have the same length, and proposed the correction implemented by this discussion-derived commit #3.
  • Tom Lanesaw the final versionLLM analysis, 98% sureHe explicitly endorsed the sizeof correction before it was committed #4.

Credits across 2 commits

Reviewer
Peter Eisentrautcommitter1
Reported by
Sehrope Sarkuni1
Co author
Dagfinn Ilmari Mannsåker1
Committer
Peter Eisentraut2