May 2024

1 commit
Fix potential NULL pointer dereference in getIdentitySequence()
26 May 2024Michael Paquiermaster17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #111 of 2 reviewers saw the final version

The commit preserves the wrapper-based rewrite in #11 in src/backend/catalog/pg_depend.c, but adds an explicit InvalidAttrNumber check and elog(ERROR) after get_attnum(). Michael explains that missing check in #13; the commit message is also rewritten.

  • Ranier Vilelasaw an earlier versionLLM analysis, 94% sureRanier questioned whether get_attname()'s allocated result needed pfree in #12, reviewing #11 before the committer added the explicit invalid-attribute error check.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Ashutosh Bapat1
Reviewer
Michael Paquiercommitter1
Reported by
Ranier Vilela1
Committer
Michael Paquier1