Fix Segfault caused by reentrancy in ri_triggers.c

Edit
ID 6825
Title Fix Segfault caused by reentrancy in ri_triggers.c
CI (CFBot) Summary
Stats (from CFBot) Patch version: v4, Patch count: 2, First patch: +130−0, All patches: +369−2
Tags Bugfix
Created 2026-06-01 16:39:48
Last modified 2026-10-01 00:00:08 (22 hours ago)
Latest email 2026-09-25 04:56:52 (6 days ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Ready for Committer
PG20-2 (2026-09-01 – 2026-09-30): Moved to different CF
PG20-1 (2026-07-01 – 2026-07-31): Moved to different CF
Target version
Authors Lucas Jeffrey (lucasjeffrey.acs)
Reviewers Trakshan Mishra (trakshanm) Become reviewer
Committer
Links
Emails
[PATCH] Fix segmentation fault caused by reentrancy in RI_Fkey_cascade_del (ri_triggers.c)
First at 2026-05-29 15:32:06 by Lucas Jeffrey <lucas.jeffrey at anachronics.com>
Latest at 2026-09-25 04:56:52 by Trakshan Mishra <trakshanmishra477 at gmail.com>
Latest attachment (v4-0002-Fix-use-after-free-of-RI-query-plans-in-reentrant.patch) at 2026-09-24 19:09:09 from Lucas Jeffrey <lucas.jeffrey at anachronics.com>
    Attachment (v4-0002-Fix-use-after-free-of-RI-query-plans-in-reentrant.patch) at 2026-09-24 19:09:09 from Lucas Jeffrey <lucas.jeffrey at anachronics.com> (Patch: No)
    Attachment (v3-0001-Add-test-case-that-triggers-self-referencing-table-c.patch) at 2026-06-01 16:02:43 from Lucas Jeffrey <lucas.jeffrey at anachronics.com> (Patch: Yes)
    Attachment (v2-0002-Fix-crash-of-self-referencing-tables-with-delete-tri.patch) at 2026-05-29 15:32:06 from Lucas Jeffrey <lucas.jeffrey at anachronics.com> (Patch: Yes)
History
When Who What
2026-10-01 00:00:08 CFbot Moved from CF PG20-2 to CF PG20-3
2026-09-25 05:03:32 Trakshan Mishra (trakshanm) New status: Ready for Committer
2026-09-24 14:57:09 Trakshan Mishra (trakshanm) New status: Waiting on Author
2026-09-24 14:55:39 Trakshan Mishra (trakshanm) Added trakshanm as reviewer
2026-07-20 17:51:47 Lucas Jeffrey (lucasjeffrey) Changed tags to Bugfix
2026-07-20 17:51:14 Lucas Jeffrey (lucasjeffrey) Changed tags to Bugfix, My First Patch, Security
2026-07-20 17:47:46 Lucas Jeffrey (lucasjeffrey) Moved from CF PG20-1 to CF PG20-2
2026-06-02 14:51:53 Lucas Jeffrey (lucasjeffrey.acs) Changed name to Fix Segfault caused by reentrancy in ri_triggers.c
2026-06-01 17:25:02 Lucas Jeffrey (lucasjeffrey.acs) Changed tags to Bugfix, My First Patch
2026-06-01 16:39:49 Lucas Jeffrey (lucasjeffrey.acs) Attached mail thread CAGHzy7S0XfXdK3amd5c4QhpS1o9dySVzPr+-d9ohaE4iV_vNog@mail.gmail.com
2026-06-01 16:39:48 Lucas Jeffrey (lucasjeffrey.acs) Created patch record
Edit