Fix incorrect memory access in ExecBRUpdateTriggers()

Edit
Title Fix incorrect memory access in ExecBRUpdateTriggers()
Topic Bug Fixes
Created 2023-09-20 18:06:31
Last modified 2024-01-15 04:11:02 (5 months ago)
Latest email 2024-01-15 16:29:26 (5 months ago)
Status
2024-01: Committed
2023-11: Moved to next CF
Target version
Authors Alexander Lakhin (law)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links
Emails
BUG #17798: Incorrect memory access occurs when using BEFORE ROW UPDATE trigger
First at 2023-02-17 10:00:00 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2024-01-15 16:29:26 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (v5-0001-Fix-potential-use-after-free-for-BEFORE-ROW-UPDATE-t.patch) at 2024-01-13 23:29:15 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (v5-0001-Fix-potential-use-after-free-for-BEFORE-ROW-UPDATE-t.patch) at 2024-01-13 23:29:15 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (dirty-debugging-17798.patch) at 2024-01-10 18:00:01 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
    Attachment (v4-0001-Fix-potential-use-after-free-for-BEFORE-ROW-UPDATE-t.patch) at 2024-01-08 08:00:00 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
    Attachment (v3-01-Fix-memory-access-in-BRU-trigger.patch) at 2023-07-09 15:00:01 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
    Attachment (v2-01-Fix-memory-access-in-BRU-trigger.patch) at 2023-04-20 10:00:00 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
    Attachment (BRU-trigger-bug-demo.patch) at 2023-04-01 12:00:00 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
    Attachment (v1-01-Fix-memory-access-in-BRU-trigger-DRAFT.patch) at 2023-03-07 06:00:01 from Alexander Lakhin <exclusion at gmail.com> (Patch: Yes)
History
When Who What
2024-01-15 04:11:02 John Naylor (john.naylor) Closed in commitfest 2024-01 with status: Committed
2024-01-15 04:11:02 John Naylor (john.naylor) Changed committer to tgl
2023-12-04 08:55:24 John Naylor (john.naylor) Closed in commitfest 2023-11 with status: Moved to next CF
2023-11-02 05:52:56 John Naylor (john.naylor) Changed authors to Alexander Lakhin (law)
2023-09-20 18:06:32 Alexander Lakhin (law) Attached mail thread 17798-0907404928dcf0dd@postgresql.org
2023-09-20 18:06:31 Alexander Lakhin (law) Created patch record
Edit