Re: BUG #19480: PL/Python SRF crashes (SIGSEGV) when function is replaced mid-iteration: use-after-free in PLy_funct

From: Melanie Plageman <melanieplageman(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, adoros(at)starfishstorage(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, rmt(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19480: PL/Python SRF crashes (SIGSEGV) when function is replaced mid-iteration: use-after-free in PLy_funct
Date: 2026-06-17 15:43:43
Message-ID: CAAKRu_aR+e5mbLfdJFxCmkb7uLZJBphNr2kvOtTaXsq8xWHi6Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Jun 17, 2026 at 11:30 AM Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:
>
> It's fine to still sneak it into v19. It's better to have it earlier,
> even if it means more churn during beta period.
>
> I haven't looked closely at the patch, but since it's a bug fix it would
> make sense to backpatch. If we're uncomfortable with backpatching it
> now, we could commit in master now, and backpatch later when we have
> more confidence.

Agreed.

- Melanie

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-06-17 15:56:36 Re: BUG #19480: PL/Python SRF crashes (SIGSEGV) when function is replaced mid-iteration: use-after-free in PLy_funct
Previous Message Nathan Bossart 2026-06-17 15:43:06 Re: BUG #19480: PL/Python SRF crashes (SIGSEGV) when function is replaced mid-iteration: use-after-free in PLy_funct