| commit | 62e6979095ab19728ca3f2f86f98e8edb8f33cc8 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Mon Sep 08 08:37:13 2025 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Mon Sep 08 22:17:46 2025 +0930 |
| tree | 18ed86f4e0d09b692d21f538693434448ec8eef7 | |
| parent | a2298f23f2e23ff6f191e36540208a90fffd317b [diff] |
vms-alpha: ehdr checks I noticed that _bfd_vms_slurp_ehdr wrongly used buf_size (rather than rec_size) when sanity checking. * vms-alpha.c (_bfd_vms_slurp_ehdr): Don't allow access to uninitialised buffer memory. Tidy code generally, using remaining record length for sanity checks.