diff options
| author | Nick Clifton <nickc@redhat.com> | 2017-02-13 13:08:32 +0000 |
|---|---|---|
| committer | Nick Clifton <nickc@redhat.com> | 2017-02-13 13:08:32 +0000 |
| commit | 03f7786e2f440b9892b1c34a58fb26222ce1b493 (patch) | |
| tree | 971cf273051f9b7249a1e3ac3287109160a52eae /gdb/python/python-internal.h | |
| parent | 13a590ca65f744c8fa55d6e0748cb12f443493f0 (diff) | |
| download | binutils-03f7786e2f440b9892b1c34a58fb26222ce1b493.zip binutils-03f7786e2f440b9892b1c34a58fb26222ce1b493.tar.gz binutils-03f7786e2f440b9892b1c34a58fb26222ce1b493.tar.bz2 | |
Fix readelf writing to illegal addresses whilst processing corrupt input files containing symbol-difference relocations.
PR binutils/21137
* readelf.c (target_specific_reloc_handling): Add end parameter.
Check for buffer overflow before writing relocated values.
(apply_relocations): Pass end to target_specific_reloc_handling.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions
