Re: [BUG] segfault during delete
Amit Langote <amitlangote09@gmail.com>
From: Amit Langote <amitlangote09@gmail.com>
To: "Drouvot, Bertrand" <bdrouvot@amazon.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-02-24T12:59:47Z
Lists: pgsql-hackers
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. -- Amit Langote EDB: http://www.enterprisedb.com
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