Mar 2025

1 commit
Fix integer-overflow problem in scram_SaltedPassword()
26 Mar 2025Richard Guomaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The single-hunk diff in 7c82b4f711 exactly matches #1: scram_SaltedPassword() changes `for (i = 2; i <= iterations; i++)` to `for (i = 1; i < iterations; i++)` in src/common/scram-common.c.

  • Richard Guosaw the final versiontrailerRichard approved the fix and omission of a test in #2, agreed with the testing tradeoff in #4, and committed the unchanged patch.
  • Michael Paquiersaw the final versiontrailerMichael considered using an injection point to make testing cheaper but questioned whether the coverage justified the effort in #3, and the reviewed patch landed unchanged.

Credits across 1 commit

Author
Kevin K Biju1
Reviewer
Michael Paquier1
Richard Guo1
Committer
Richard Guo1