Apr 2025

1 commit
Be more wary of corrupt data in pageinspect's heap_page_items().
19 Apr 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9REL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Dmitry Kovalenko proposed moving the raw tuple copy behind the t_hoff validation and returning NULL for invalid tuple data in #1; the commit explicitly credits him as author. The change in contrib/pageinspect/heapfuncs.c implements that proposal and additionally checks null-bitmap length and skips zero-length memcpy.

  • Tom Lanesaw the final versiontrailerTom Lane endorsed the proposed fix in #2 and, as committer, reviewed the final implementation.

Credits across 1 commit

Author
Dmitry Kovalenko1
Reviewer
Tom Lane1
Reported by
Dmitry Kovalenko1
Committer
Tom Lane1