pgsql: Replace fixed-size, too-short array with a palloc'd one.
pgsql: Replace fixed-size, too-short array with a palloc'd one.
От:
Noah Misch <noah@leadboat.com>
Дата:
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 Reported-by: ylwangtju Author: Tom Lane Reviewed-by: Michael Paquier Reviewed-by: Masahiko Sawada Backpatch-through: 14 Security: CVE-2026-14679 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/92972e815d85038ccb8574a1d7e2f2df8d148fe9 Author: Tom Lane Modified Files -------------- src/backend/catalog/namespace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)