diff options
author | Alan Modra <amodra@gmail.com> | 2017-12-06 17:32:48 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-12-06 18:05:18 +1030 |
commit | 9c1ce1085070f42718e341d89a28881edd96161f (patch) | |
tree | 1c2d97c4b9386682093093afd318bdc71f4a792f /gold/gold-threads.h | |
parent | 07d6d2b8345ef3dc82eab49635acac9ee67dbb18 (diff) | |
download | gdb-9c1ce1085070f42718e341d89a28881edd96161f.zip gdb-9c1ce1085070f42718e341d89a28881edd96161f.tar.gz gdb-9c1ce1085070f42718e341d89a28881edd96161f.tar.bz2 |
PR22552, readelf heap buffer overflow in load_debug_section
PR 22552
* readelf.c (process_file_header): Don't assume XINDEX case
value for e_shstrndx is within bounds.
(load_debug_section): Sanity test e_shstrndx before attempting
to read .shstrtab. Wrap long lines.
Diffstat (limited to 'gold/gold-threads.h')
0 files changed, 0 insertions, 0 deletions