Sep 2026

1 commit
Modernize crypt-des.c a bit, avoiding dubious casts.
25 Sep 2026Tom LanemasterunreleasedREL_19_STABLE19rc1REL_18_STABLE18.7REL_17_STABLE17.12REL_16_STABLE16.16REL_15_STABLE15.20REL_14_STABLE14.25Also in: Cleaning up pgcrypto/crypt-des.c to avoid compiler warnings (modified before commit)
LLM analysis, 99% surepart of a posted patchsetsignificant changesfrom patchset #30 of 1 reviewer saw the final version

35136da00e combines the two size_t-bounded DES loop rewrites from #3 with Tom Lane's union buffer, uint32 helper interfaces, and memcpy removal from thread #253946, adapting the loops to lengthof(keybuf.bytes) and indexed access in contrib/pgcrypto/crypt-des.c. The other thread's verdict identifies the latest broader patchset; this partial attribution recognizes Ayush's incorporated loop contribution rather than claiming the entire cleanup.

  • Pierre Forstmannsaw an earlier versionLLM analysis, 100% surePierre reported passing installcheck-world and feature testing, checked loop behavior with a C simulation, and approved the patch before the broader rewrite #4.

Credits across 1 commit

Author
Tom Lane1
Reported by
Andres Freund1
Co author
Ayush Tiwari1
Committer
Tom Lane1