git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: aa11a9c) | patch
Fix an uninitialized access in hash_xlog_squeeze_page().
Fri, 1 Dec 2023 04:44:36 +0000 (10:14 +0530)
Fri, 1 Dec 2023 04:52:13 +0000 (10:22 +0530)
commit f66fcc5cd616da8d81a2d2f9b80a9f080796f4b6
Fix an uninitialized access in hash_xlog_squeeze_page().

Commit 861f86beea changed hash_xlog_squeeze_page() to start reading
the write buffer conditionally but forgot to initialize it leading to an
uninitialized access.

Reported-by: Alexander Lakhin
Author: Hayato Kuroda
Reviewed-by: Alexander Lakhin, Amit Kapila
Discussion: http://postgr.es/m/62ed1a9f-746a-8e86-904b-51b9b806a1d9@gmail.com
src/backend/access/hash/hash_xlog.c diff | blob | blame | history
src/test/regress/expected/hash_index.out diff | blob | blame | history
src/test/regress/sql/hash_index.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /