Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wZsQ3-001MWg-31 for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jun 2026 15:43:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZsQ2-006eLO-2n for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Jun 2026 15:43:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wZsQ2-006eLE-1z for pgsql-bugs@lists.postgresql.org; Wed, 17 Jun 2026 15:43:10 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZsQ1-00000000pIl-1XUY for pgsql-bugs@lists.postgresql.org; Wed, 17 Jun 2026 15:43:09 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-43b7e186a0cso2671383fac.0 for ; Wed, 17 Jun 2026 08:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781710988; x=1782315788; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1r8Ck83T3U1gcsVRLXR8+GfUxKOoQrBys7n5N1gtzi8=; b=plazzWs1EQoD43YeTCYkBel1BYZDChhAgbnLPgX+327+kD3v+pKwFCSitZ/kB428qN JwKfpWpFj+QlzD6OAcVuw3r85NKt1dIRaf1KwCpxGFJ/Oap0EnPXWLtKW/3tUzbK+1He E/NntKjmUr3lAVK1fmTELmDoVBLq6SHQbv1J6NVvQwg9R2vta29RE2z9grnM3RcGkQ90 Y9It8+IRxkvbI9fHthLizMGod5BBEcF6XPuXahgEK94W0o0DC4edf8GFXZY7S58LPkQC CXCXoutB4Ld1wd+JaAY1ucmnrULeoZhwy/51iUvE/pcP4RRQntbaB+mKec4hlGVXwt8I tW4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781710988; x=1782315788; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1r8Ck83T3U1gcsVRLXR8+GfUxKOoQrBys7n5N1gtzi8=; b=Iyqs2DNKX5cg0kh/Vg16dGR0hzFkze/sEddkw218TssyFbnPp379GX+i80EfiFvIU7 9AbFzI9L8Hcbaund/kSzaepeVflLG8ptvNQYvw+y68eVDL/eC37f4eR0U/Ih7v112MPd Qo5UWNg1rayMdK7LRKU9mAcziqjTaBPL7pFYbkq2AUG0dBgHeS3z8R02L/XgvDeovF0d ot20mI62GpR02iIuTYhpnLs2IaoFL3tDMXOvOeXXnd5yJrObL86cdvS3xrv8qfyto7MZ WlbAEu+3xp6/2hnrFu5lMoFYiaHSWAJyjLJF1D76MbQCvgugu31XqaofLgzbSGQmH3Y5 JZ0g== X-Forwarded-Encrypted: i=1; AFNElJ/vBBca8p4PI2lAIyBm/QlZTyZ3nCIn9nooIkLchwQUbbeEqay2gznSFO1zti/S5RZXfrYvwcv+vEAX@lists.postgresql.org X-Gm-Message-State: AOJu0YyYylXjZRU2yuxPeeuTwUGAi/Y8vostTZjQ5ZTbxyVynRhrfadM fQ0ZfriKjV2FIHnk0tmJuDrvbq4o3rdNbozO7ID7HTE244drsKcBYm9Sg+xPgw== X-Gm-Gg: Acq92OHu2d9/y915xLMNRJTMEuVkm281m3e6I7LNjc3sRuB78S0kPo/3DC0siZyaFDX +jioWf47rQBTh1HrLwreKLFdOzbX9WtYt2xdlfTYkCrZfWEQdb0E4lc91FRcORh4S77aToml1K4 ccDMG89fDzoNJo+Zt/RgPoxQZNJrPS5M1WZEfYIuvqETO35q+0x+CIZLZbkpwrTa6kBv7xfMRLF kGL64IhW1jL3MnPK47wHds+xC8FS37AlkFWg3/R4C1kG36q3C8oG2nfgT5V9Hp3VmeDMOstHHwz jDnTpA2q/Sz8JBYXILIzORrQbnG35kmPVFU0euXglgkc5rTdLuGHhDlRskegD67LYx+2++zvciv kY9CMIO74gManfQVMsNF+oSvwr1bbeaSEmo5pnt8Lo6K/AwaGq8YVTyM7CSom0qc2Qq1GdkXxha 5Y6V9KqGDX9ftNqQ9cuV+XQdDZAYK/JTCgl5eFZQlGwJTmTSHc5JI6jEHtvf0dwgCTN/JFMk0jD LjR2IWUHHI= X-Received: by 2002:a05:6870:14cc:b0:43d:3b08:5f92 with SMTP id 586e51a60fabf-446901026c8mr3052978fac.13.1781710988413; Wed, 17 Jun 2026 08:43:08 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-44308b0057csm4872272fac.8.2026.06.17.08.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2026 08:43:08 -0700 (PDT) Date: Wed, 17 Jun 2026 10:43:06 -0500 From: Nathan Bossart To: Heikki Linnakangas Cc: Matheus Alcantara , Tom Lane , adoros@starfishstorage.com, pgsql-bugs@lists.postgresql.org, rmt@lists.postgresql.org Subject: Re: BUG #19480: PL/Python SRF crashes (SIGSEGV) when function is replaced mid-iteration: use-after-free in PLy_funct Message-ID: References: <19480-f1f9fdce30462fc4@postgresql.org> <982975.1779981146@sss.pgh.pa.us> <2868592.1780356411@sss.pgh.pa.us> <3770958.1780686685@sss.pgh.pa.us> <9ecd2bd5-0fec-4ec2-9800-eb071683128c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 17, 2026 at 06:30:30PM +0300, Heikki Linnakangas 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. +1 -- nathan