Re: plpython: NULL pointer dereference on broken sequence objects

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: plpython: NULL pointer dereference on broken sequence objects
Date: 2026-06-29 03:01:16
Message-ID: CAMbWs4-2QC0P7TCMx2MFAfTuh-qFQBMny1HiTEZYUZktuvKfhQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 26, 2026 at 4:22 PM Ayush Tiwari
<ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
> On Fri, 26 Jun 2026 at 11:35, Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
>> Right. Those functions have the same issue as PySequence_GetItem().
>> The attached v2 patch fixes them all.

> Thanks for the update! v2 LGTM.

Thanks for the review. Pushed and back-patched down to v14.

- Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-06-29 03:21:46 Re: COPY: validate option presence rather than option values
Previous Message Michael Paquier 2026-06-29 03:00:31 Re: md5_password_warnings for password auth with MD5-encrypted passwords