fix use after free inside json_unique_check_key

Edit
ID 5244
Title fix use after free inside json_unique_check_key
CI (CFBot) Not processed
Stats (from CFBot) Unknown
Topic Bug Fixes
Created 2024-09-07 05:45:12
Last modified 2024-09-21 00:57:28 (5 months ago)
Latest email 2024-09-11 14:56:33 (5 months, 1 week ago)
Status
2024-11: Committed
Target version 17
Authors Zhao Junwang (zhjwpku)
Reviewers Become reviewer
Committer Tomas Vondra (fuzzycz)
Links
Emails
BUG #18598: AddressSanitizer detects use after free inside json_unique_hash_match()
First at 2024-09-01 19:00:01 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2024-09-11 14:56:33 by Junwang Zhao <zhjwpku at gmail.com>
Latest attachment (0001-Fix-unique-key-checks-in-JSON-object-constructors.patch) at 2024-09-10 19:47:16 from Tomas Vondra <tomas at vondra.me>
    Attachment (0001-Fix-unique-key-checks-in-JSON-object-constructors.patch) at 2024-09-10 19:47:16 from Tomas Vondra <tomas at vondra.me> (Patch: Yes)
    Attachment (0001-Fix-unique-key-checks-in-JSON-object-constructors.patch) at 2024-09-10 19:20:53 from Tomas Vondra <tomas at vondra.me> (Patch: Yes)
    Attachment (v1-0001-fix-use-after-free-bug.patch) at 2024-09-05 05:20:20 from Junwang Zhao <zhjwpku at gmail.com> (Patch: Yes)
    Attachment (v1-0001-fix-use-after-free-bug.patch) at 2024-09-05 04:06:46 from Junwang Zhao <zhjwpku at gmail.com> (Patch: Yes)
History
When Who What
2024-09-21 00:57:28 Zhao Junwang (zhjwpku) Closed in commitfest 2024-11 with status: Committed
2024-09-21 00:57:28 Zhao Junwang (zhjwpku) Changed committer to fuzzycz
2024-09-07 05:46:25 Zhao Junwang (zhjwpku) Changed authors to Zhao Junwang (zhjwpku)
2024-09-07 05:45:35 Zhao Junwang (zhjwpku) Changed targetversion to 17
2024-09-07 05:45:12 Zhao Junwang (zhjwpku) Attached mail thread 18598-3279ed972a2347c7@postgresql.org
2024-09-07 05:45:12 Zhao Junwang (zhjwpku) Created patch record
Edit