diff options
author | Nick Clifton <nickc@redhat.com> | 2016-08-08 13:20:04 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-08-08 13:20:04 +0100 |
commit | d8024a9189b9e686e403512a96e4256823b5c6e4 (patch) | |
tree | 0b858324d0bded058516cc8557c9bdf027173bdd /README-maintainer-mode | |
parent | 8a286b63457628b0a55d395f14005f254512e27d (diff) | |
download | gdb-d8024a9189b9e686e403512a96e4256823b5c6e4.zip gdb-d8024a9189b9e686e403512a96e4256823b5c6e4.tar.gz gdb-d8024a9189b9e686e403512a96e4256823b5c6e4.tar.bz2 |
Fix seg-faults when running readelf on fuzzed binaries.
PR binutils/20440
* dwarf.c (display_debug_lines_decoded): Add checks for running
off the end of the section when populating the directory table and
file table.
(frame_display_row): Set max_regs equal to ncols.
(load_specific_debug_section): If the section is compressed, but
it is not big enough to hold a compression header then warn and
return 0.
Diffstat (limited to 'README-maintainer-mode')
0 files changed, 0 insertions, 0 deletions