agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Replace fixed-size, too-short array with a palloc'd one.
Date: Mon, 10 Aug 2026 13:41:21 +0000
Message-ID: <E1wtQFl-00000000y3a-3lPZ@gemulon.postgresql.org> (raw)
Replace fixed-size, too-short array with a palloc'd one.
MatchNamedCall's arggiven array was declared FUNC_MAX_ARGS long,
but we may actually use up to pronallargs elements, and that can
be more than FUNC_MAX_ARGS if the function has OUT arguments
(cf. ProcedureCreate). Convert it to a palloc'd array.
Reported-by: Zheng Yu <zheng@depthfirst.com>
Reported-by: ylwangtju <ylwangtju@qq.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Backpatch-through: 14
Security: CVE-2026-14679
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/92972e815d85038ccb8574a1d7e2f2df8d148fe9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Modified Files
--------------
src/backend/catalog/namespace.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
view thread (6+ messages) latest in thread
Message-ID: <E1wtQFl-00000000y3a-3lPZ@gemulon.postgresql.org>
Permalink: ../E1wtQFl-00000000y3a-3lPZ@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wtQFl-00000000y3a-3lPZ@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: noah@leadboat.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Replace fixed-size, too-short array with a palloc'd one.
In-Reply-To: <E1wtQFl-00000000y3a-3lPZ@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox