Fix an uninitialized access in hash_xlog_squeeze_page().
Amit Kapila <akapila@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hash_xlog.c | modified | +1 −1 |
| src/test/regress/expected/hash_index.out | modified | +14 −0 |
| src/test/regress/sql/hash_index.sql | modified | +17 −0 |
Discussion
- Is this a problem in GenericXLogFinish()? 64 messages · 2023-09-22 → 2024-04-11