summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-12-06 17:32:48 +1030
committerAlan Modra <amodra@gmail.com>2017-12-06 18:05:18 +1030
commit9c1ce1085070f42718e341d89a28881edd96161f (patch)
tree1c2d97c4b9386682093093afd318bdc71f4a792f /ld
parent07d6d2b8345ef3dc82eab49635acac9ee67dbb18 (diff)
downloadbinutils-gdb-9c1ce1085070f42718e341d89a28881edd96161f.tar.gz
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 'ld')
0 files changed, 0 insertions, 0 deletions