pgsql: Use palloc_array() in a few more places to avoid overflow

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use palloc_array() in a few more places to avoid overflow
Date: 2026-05-11 18:41:57
Message-ID: E1wMVZl-0004oq-0b@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use palloc_array() in a few more places to avoid overflow

These could overflow on 32-bit systems.

Backpatch-through: 14
Security: CVE-2026-6473

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c9447b8bd078f40c8b4969c63bebbb2cc228582b

Modified Files
--------------
contrib/hstore_plperl/hstore_plperl.c | 2 +-
contrib/hstore_plpython/hstore_plpython.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-05-11 18:55:34 pgsql: Last-minute updates for release notes.
Previous Message Álvaro Herrera 2026-05-11 16:19:57 pgsql: Fix REPACK with WITHOUT OVERLAPS replica identity indexes