diff options
author | Alan Modra <amodra@gmail.com> | 2017-09-24 14:36:16 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-09-24 16:15:14 +0930 |
commit | 515f23e63c0074ab531bc954f84ca40c6281a724 (patch) | |
tree | 266d9172e9797c3b818c1edba524a320d1382178 /bfd/trad-core.c | |
parent | 0d76029f92182c3682d8be2c833d45bc9a2068fe (diff) | |
download | gdb-515f23e63c0074ab531bc954f84ca40c6281a724.zip gdb-515f23e63c0074ab531bc954f84ca40c6281a724.tar.gz gdb-515f23e63c0074ab531bc954f84ca40c6281a724.tar.bz2 |
PR22169, heap-based buffer overflow in read_1_byte
The .debug_line header length field doesn't include the length field
itself, ie. it's the size of the rest of .debug_line.
PR 22169
* dwarf2.c (decode_line_info): Correct .debug_line unit_length check.
Diffstat (limited to 'bfd/trad-core.c')
0 files changed, 0 insertions, 0 deletions