Aug 2023

1 commit
Avoid possible overflow with ltsGetFreeBlock() in logtape.c
29 Aug 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.0REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13
LLM analysis, 100% surelanded as postedfrom patchset #13 of 3 reviewers saw the final version

The commit's single hunk in src/backend/utils/sort/logtape.c exactly matches #1, changing the ltsGetFreeBlock() heapsize declaration from int to long. Michael Paquier confirmed application and backpatching in #8.

  • Peter Geoghegansaw the final versiontrailerPeter supported fixing and backpatching the distinct type inconsistency in #6, then explained why allocation limits likely prevent practical overflow while endorsing consistency in #7.
  • David Rowleysaw the final versiontrailerDavid explicitly approved the patch and backpatching in #5, arguing that future conversion to int64 should not delay this fix.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Ranier Vilela1
Reviewer
David Rowley1
Michael Paquiercommitter1
Peter Geoghegan1
Committer
Michael Paquier1