aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorMasahiko Sawada <msawada@postgresql.org>2024-06-12 09:56:13 +0900
committerMasahiko Sawada <msawada@postgresql.org>2024-06-12 09:56:13 +0900
commit18404ea60141a2e2eaf58a5ebbd2b99f7a0cd442 (patch)
treee906e63a37dd4a31f639a9777676969340e9ea67 /src/backend/utils/adt/jsonpath_exec.c
parent915de706d28c433283e9dc63701e8f978488a2b9 (diff)
downloadpostgresql-18404ea60141a2e2eaf58a5ebbd2b99f7a0cd442.tar.gz
postgresql-18404ea60141a2e2eaf58a5ebbd2b99f7a0cd442.zip
Fix segmentation fault in test_tidstore.
The do_set_block_offsets() and other functions accessing the tidstore did not check if the tidstore was NULL. This led to a segmentation fault when these functions are called without calling the test_create(). This commit adds NULL checks in relevant functions of test_tidstore to raise an error instead if the tidstore is not initialized. Bug: #18483 Reported-by: Alexander Kozhemyakin Reviewed-by: Michael Paquier Discussion: https://postgr.es/m/18483-30bfff42de238000%40postgresql.org
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions