Jul 2026

1 commit
Use more strlcpy() in two-phase transaction code
28 Jul 2026Michael Paquiermasterunreleased
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #11 of 1 reviewer saw the final version

The commit retains both strcpy-to-strlcpy replacements in src/backend/access/transam/twophase.c from #1, omits its GID checks and entire fork-number patch, and replaces strncpy with GIDSIZE-bounded strlcpy in src/backend/access/rmgrdesc/xactdesc.c. That additional replacement implements Michael Paquier's proposal in #2.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Matt Suiche1
Reviewer
Michael Paquiercommitter1
Committer
Michael Paquier1