May 2024

1 commit
Fix check for memory allocation
27 May 2024Daniel Gustafssonmaster17beta2REL_19_STABLE17beta2REL_18_STABLE17beta2REL_17_STABLE17beta2
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The commit exactly matches the single-hunk correction in #1, changing the calloc result check from cancelConn->connhost to cancelConn->addr. The cleanup additions in #3 were excluded after Ranier agreed to apply the original trivial fix in #7.

  • Jelte Fennema-Niosaw the final versiontrailerIn #4 and #6, he confirmed the allocation-check bug, preferred the original patch, and explained why existing PQcancelFinish cleanup made the added OOM cleanup unnecessary.
  • Daniel Gustafssonsaw the final versiontrailerHe confirmed the incorrect allocation check in #2 and, as committer, announced pushing the original fix in #8.

Credits across 1 commit

Author
Ranier Vilela1
Reviewer
Daniel Gustafsson1
Jelte Fennema-Nio1
Committer
Daniel Gustafsson1