]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
vms-alpha: sections array index sanity checks
authorAlan Modra <amodra@gmail.com>
Sun, 7 Sep 2025 23:10:03 +0000 (08:40 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 8 Sep 2025 12:47:47 +0000 (22:17 +0930)
commit58b625a9c9ee7780a622d8082abf936ac9514a0c
treef068dfc4d7c05e31713d2dc10ca8d6c260e71822
parent62e6979095ab19728ca3f2f86f98e8edb8f33cc8
vms-alpha: sections array index sanity checks

Adds a couple of missing bound checks.

* vms-alpha.c (alpha_vms_fix_sec_rel): Sanity check relocation
section index.
(alpha_vms_bfd_final_link): Assert that section index is sane.
bfd/vms-alpha.c