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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: dc6c85ff4d1bb97cd06b11bb19b7b69cf7952f02
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-05-11T18:29:18Z
Releases: 15.18
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

Files