diff options
author | Alan Modra <amodra@gmail.com> | 2017-08-25 11:41:06 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-08-25 12:23:30 +0930 |
commit | 1445030f313d9b251a6a27c8bdf52197520396e2 (patch) | |
tree | ae30aa0a8c459095fa0e03296a25eece99e12534 /gdb/gdbserver/regcache.c | |
parent | 176047c9f2ec8ccb4e0b6bfade4f21cb25d986e9 (diff) | |
download | gdb-1445030f313d9b251a6a27c8bdf52197520396e2.zip gdb-1445030f313d9b251a6a27c8bdf52197520396e2.tar.gz gdb-1445030f313d9b251a6a27c8bdf52197520396e2.tar.bz2 |
PR21994, readelf looping on verdefs
PR 21994
* readelf.c (process_version_sections <SHT_GNU_verdef>): Check
vd_aux and vda_next for sanity. Delete "end". Correct overflow
checks.
(process_version_sections <SHT_GNU_verneed>): Correct overflow
check. Don't report invalid vna_next on overflow. Do report
invalid vna_next on size less than aux info.
Diffstat (limited to 'gdb/gdbserver/regcache.c')
0 files changed, 0 insertions, 0 deletions