]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Stop reading uninitialized memory in heap_inplace_lock().
authorNoah Misch <noah@leadboat.com>
Thu, 24 Oct 2024 16:16:14 +0000 (09:16 -0700)
committerNoah Misch <noah@leadboat.com>
Thu, 24 Oct 2024 16:16:18 +0000 (09:16 -0700)
commit2d63c964f0104337ba109a96304491df25e167f2
tree3f9c58623380e1b1cb5e19531bcecb7db58c8dff
parentad88b2020a6846c56da591b84e2f10cd49137e42
Stop reading uninitialized memory in heap_inplace_lock().

Stop computing a never-used value.  This removes the read; the read had
no functional implications.  Back-patch to v12, like commit
a07e03fd8fa7daf4d1356f7cb501ffe784ea6257.

Reported by Alexander Lakhin.

Discussion: https://postgr.es/m/6c92f59b-f5bc-e58c-9bdd-d1f21c17c786@gmail.com
src/backend/access/heap/heapam.c
src/test/isolation/expected/intra-grant-inplace.out
src/test/isolation/specs/intra-grant-inplace.spec