From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix an uninitialized access in hash_xlog_squeeze_page(). |
Date: | 2023-12-01 05:01:40 |
Message-ID: | E1r8vel-0083s0-Lk@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f66fcc5cd616da8d81a2d2f9b80a9f080796f4b6
Modified Files
--------------
src/backend/access/hash/hash_xlog.c | 2 +-
src/test/regress/expected/hash_index.out | 14 ++++++++++++++
src/test/regress/sql/hash_index.sql | 17 +++++++++++++++++
3 files changed, 32 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2023-12-01 07:48:52 | pgsql: doc: Update info on information schema usage tables |
Previous Message | Andres Freund | 2023-12-01 03:26:59 | pgsql: meson: Stop using deprecated way getting path of files |