diff options
author | Nick Clifton <nickc@redhat.com> | 2017-02-14 13:24:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-02-14 13:24:09 +0000 |
commit | b32e566ba6ee02687c6def22ade0899076adf7dd (patch) | |
tree | 1523a3aea8acafb835455833fa07e867aaf4e091 /gdb/python/py-evts.c | |
parent | 7e0de605cbacbbbb2531bb70506c0843aea13111 (diff) | |
download | gdb-b32e566ba6ee02687c6def22ade0899076adf7dd.zip gdb-b32e566ba6ee02687c6def22ade0899076adf7dd.tar.gz gdb-b32e566ba6ee02687c6def22ade0899076adf7dd.tar.bz2 |
Fix illegal memory access problems with readelf processing corrupt RL78 binaries.
PR binutils/21155
* readelf.c (IN_RANGE): New macro. Tests for an address + offset
being within a given range.
(target_specific_reloc_handling): Use macro to test for underflow
as well as overflow of reloc offset.
Diffstat (limited to 'gdb/python/py-evts.c')
0 files changed, 0 insertions, 0 deletions