Dec 2020

1 commit
Avoid memcpy() with a NULL source pointer and count == 0
1 Dec 2020Alvaro Herreramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2+2 moreAlso in: Clang UndefinedBehaviorSanitize (Postgres14) Detected undefined-behavior
LLM analysis, 99% suremodified before commitlight changesfrom patchset #3

The commit preserves the guard and descriptor lookup from #3 in src/backend/commands/indexcmds.c, separating the declaration from its assignment to match Alvaro Herrera's original inline patch in #2. The other linked thread, thread #42853, has no attached patchsets that supersede this source.

Credits across 1 commit

Author
Alvaro HerreraLLM1
Reported by
Ranier Vilela1
Zhihong Yu1
Committer
Alvaro Herrera1

N LLM means N of the credits come from LLM analysis, not from commit trailers.