From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix transformJsonBehavior
Date: Thu, 14 Apr 2022 13:26:08 +0000
Message-ID: <E1nezU8-000U34-LY@gemulon.postgresql.org> (raw)
Fix transformJsonBehavior
Commit 1a36bc9dba8 conained some logic that was a little opaque and
could have involved a NULL dereference, as complained about by Coverity.
Make the logic more transparent and in doing so avoid the NULL
dereference.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/fcdb35c32ac70a113c134a66daf9ba28523ff32b
Modified Files
--------------
src/backend/parser/parse_expr.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
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: andrew@dunslane.net
Subject: Re: pgsql: Fix transformJsonBehavior
In-Reply-To: <E1nezU8-000U34-LY@gemulon.postgresql.org>
References: <E1nezU8-000U34-LY@gemulon.postgresql.org>
* 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