Oct 2022

1 commit
Remove redundant memset call following palloc0
13 Oct 2022Daniel Gustafssonmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #13 of 3 reviewers saw the final version

The commit and #1 contain the identical single-line deletion of memset(keybuf, 0, ks) from combo_init in contrib/pgcrypto/px.c.

  • Bruce Momjiansaw the final versiontrailerBruce questioned the differing buffer and copy lengths in #2, then accepted the explanation that palloc0 already zeroes the buffer in #4.
  • Nathan Bossartsaw the final versiontrailerNathan confirmed in #5 that the redundant memset was missed during the earlier allocation cleanup.
  • Daniel Gustafssonsaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Zhihong Yu1
Reviewer
Bruce Momjian1
Daniel Gustafssoncommitter1
Nathan Bossart1
Committer
Daniel Gustafsson1