Jun 2023

1 commit
intarray: Prevent out-of-bound memory reads with gist__int_ops
15 Jun 2023Michael Paquiermaster16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2REL_15_STABLE15.4REL_14_STABLE14.9REL_13_STABLE13.12+2 moreAlso in: [BUG #17888] Incorrect memory access in gist__int_ops for an input array with many elements (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #31 of 2 reviewers saw the final version

The commit exactly combines both patches in #3, with matching resulting file hashes for contrib/intarray/_int_gist.c and both regression files. Attribution to thread #47723 is superseded by this matching May 31 submission: its April 11 source #533045 supplied the original fix, before Alexander added regression coverage and consistent error codes.

  • Richard Guono review foundtrailerRichard questioned NOTICE rather than ERROR before the patch submission #2, but no review of the attached patchset is shown.
  • Michael Paquiersaw the final versiontrailerMichael endorsed both patches after checking compression and decompression behavior #4 and committed their unchanged combination #5.

Credits across 1 commit

Author
Alexander Lakhin1
Ankit Kumar Pandey1
Reviewer
Michael Paquier1
Richard Guo1
Committer
Michael Paquier1