From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
Date: Tue, 28 Nov 2017 11:35:37 -0500
Message-ID: <26463.1511886937@sss.pgh.pa.us> (raw)
In-Reply-To: <E1eJin0-0002iK-Ge@gemulon.postgresql.org>
References: <E1eJin0-0002iK-Ge@gemulon.postgresql.org>
Peter Eisentraut <peter_e@gmx.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net
Subject: Re: pgsql: PL/Python: Fix potential NULL pointer dereference
In-Reply-To: <26463.1511886937@sss.pgh.pa.us>
References: <E1eJin0-0002iK-Ge@gemulon.postgresql.org> <26463.1511886937@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox