Re: pgsql: PL/Python: Fix potential NULL pointer dereference

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Date: 2017-11-28 16:35:37
Message-ID: 26463.1511886937@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> PL/Python: Fix potential NULL pointer dereference

I do not think it's correct to just "return" out of the middle
of a PG_TRY block --- doesn't that result in failing to pop the
PG_exception_stack and error_context_stack?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-11-28 16:52:35 pgsql: Teach bitmap heap scan to cope with absence of a DSA.
Previous Message Peter Eisentraut 2017-11-28 16:31:18 pgsql: PL/Python: Fix potential NULL pointer dereference