Fix out of bound access on embedded null token

Log in to edit
ID 6914
Title Fix out of bound access on embedded null token
CI (CFBot) Summary
Stats (from CFBot) Patch count: 1, First patch: +13−8, All patches: +13−8
Tags Bugfix
Created 2026-06-19 04:41:07
Last modified 2026-07-05 20:25:19 (4 months ago)
Latest email 2026-07-05 20:12:06 (4 months ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Committed
Target version stable
Authors Ayush Tiwari (aytiwari)
Reviewers Tom Lane (tgl) Log in to become reviewer
Committer Tom Lane (tgl)
Links
Emails
BUG #19525: In `contrib/dict_int`, handling a token whose first byte is a null byte causes `pnstrdup()` .
First at 2026-06-18 07:54:52 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-07-05 20:12:06 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (0001-Fix-out-of-bounds-access-on-embedded-null-tokens-in-.patch) at 2026-06-18 14:41:32 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com>
    Attachment (0001-Fix-out-of-bounds-access-on-embedded-null-tokens-in-.patch) at 2026-06-18 14:41:32 from Ayush Tiwari <ayushtiwari.slg01 at gmail.com> (Patch: Yes)
History
When Who What
2026-07-05 20:25:19 Tom Lane (tgl) Closed in commitfest PG20-1 with status: Committed
2026-07-05 20:25:19 Tom Lane (tgl) Changed committer to tgl
2026-07-01 23:12:40 Tom Lane (tgl) Added tgl as reviewer
2026-06-19 04:41:07 Ayush Tiwari (aytiwari) Attached mail thread 19525-b0be8e4eb7dbaf07@postgresql.org
2026-06-19 04:41:07 Ayush Tiwari (aytiwari) Created patch record
Log in to edit