Re: [BUG] segfault during delete
Drouvot, Bertrand <bdrouvot@amazon.com>
From: "Drouvot, Bertrand" <bdrouvot@amazon.com>
To: Amit Langote <amitlangote09@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-02-24T13:05:23Z
Lists: pgsql-hackers
On 2/24/21 1:59 PM, Amit Langote wrote: > > On Wed, Feb 24, 2021 at 6:12 PM Drouvot, Bertrand <bdrouvot@amazon.com> wrote: >> On 2/24/21 9:12 AM, Amit Langote wrote: >>> I've attached a patch with my suggested fixes and also test cases. >>> Please take a look. >> I had a look and it looks good to me. Also the new regression tests are >> doing it right and are segfaulting without your patch. >> >> That's all good to me. > Thanks. > >> That fix should be back ported to 12 and 13, do you agree? > Yeah, I think so. great, patch added to the CF. Bertrand
Commits
-
Fix use-after-free bug with AfterTriggersTableData.storeslot
- d1c6edd31d6c 11.12 landed
- 2688852a49ea 13.3 landed
- 262eb990c720 12.7 landed
- 25936fd46c97 14.0 landed
-
Use slots in trigger infrastructure, except for the actual invocation.
- ff11e7f4b9ae 12.0 cited