Jun 2026

1 commit
Fix out-of-bounds access in autoprewarm worker
26 Jun 2026Tomas Vondramaster19beta2REL_19_STABLE19beta2REL_18_STABLE18.6
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

The commit preserves all executable changes from #4 in contrib/pg_prewarm/autoprewarm.c, expanding only the comment after read_stream_end() to explain why block_info[i] must not yet be accessed. Tomas Vondra confirms committing v2 and backpatching to PostgreSQL 18 in #7.

  • Melanie Plagemansaw the final versiontrailerMelanie reviewed both versions in #6, accepted their correctness, and discussed the tradeoff between keeping index and block assignments together and avoiding duplicate bounds checks; only light changes followed v2.
  • Tomas Vondrasaw the final versiontrailerTomas proposed the loop restructuring in #3, confirmed v2 matched his suggestion in #5, and committed the final version as announced in #7.

Credits across 1 commit

Author
Matheus Alcantara1
Reviewer
Melanie Plageman1
Tomas Vondra1
Reported by
Glauber Batista1
Committer
Tomas Vondra1