pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix thinkos in LookupFuncName() for function name lookups
Date: Tue, 25 Jun 2019 02:19:06 +0000
Message-ID: <E1hfb34-00013o-6g@gemulon.postgresql.org> (raw)

Fix thinkos in LookupFuncName() for function name lookups

This could trigger valgrind failures when doing ambiguous function name
lookups when no arguments are provided by the caller.  The problem has
been introduced in aefeb68, so backpatch to v10.  HEAD is fine thanks to
the refactoring done in bfb456c1.

Reported-by: Alexander Lakhin
Author: Alexander Lakhin, Michael Paquier
Discussion: https://postgr.es/m/3d068be5-f617-a5ee-99f6-458a407bfd65@gmail.com
Backpatch-through: 10

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/52cdbdc42c23e4f9ae1e62e95bd85d11c030d3f6

Modified Files
--------------
src/backend/parser/parse_func.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1hfb34-00013o-6g@gemulon.postgresql.org>
Permalink:  ../E1hfb34-00013o-6g@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hfb34-00013o-6g@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix thinkos in LookupFuncName() for function name lookups
  In-Reply-To: <E1hfb34-00013o-6g@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