diff options
author | Alan Modra <amodra@gmail.com> | 2019-12-31 22:24:31 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-12-31 23:30:21 +1030 |
commit | bf31e6044082986689e17af54e2ca3cc1ac8419b (patch) | |
tree | 37c4b17ab773a456d5d16f64b6b1a76b814d74a3 /ChangeLog | |
parent | 930be6676412ab9a13ae7614ba57fb7e86a1ce72 (diff) | |
download | gdb-bf31e6044082986689e17af54e2ca3cc1ac8419b.zip gdb-bf31e6044082986689e17af54e2ca3cc1ac8419b.tar.gz gdb-bf31e6044082986689e17af54e2ca3cc1ac8419b.tar.bz2 |
asan: alpha-vms: Heap-buffer-overflow
This fixes yet more errors in the alpha-vms buffer size checks.
* vms-alpha.c (_bfd_vms_slurp_eisd): Don't overflow when checking
offset. Don't overflow when checking rec_size, and do allow
rec_size to the end of the buffer. Ensure eisd->type can be
accessed, not just the first 32 bytes. Don't call
_bfd_vms_save_counted_string with zero length remaining. Fail
on empty string section name.
(_bfd_vms_slurp_egsd): Formatting. Catch more reads past end
of record size. Correct remaining length calculation. Fail
on empty string section name. Consolidate error paths.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions