diff options
author | Nick Clifton <nickc@redhat.com> | 2014-11-14 12:30:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-11-14 12:30:00 +0000 |
commit | 041830e03cca866f12be18198898139e558ad31e (patch) | |
tree | 343e78caf87d119aa29bb7ea3d471260d1296370 /gas | |
parent | 646da0594c91719ef591d8736865a1d58fbbfc34 (diff) | |
download | gdb-041830e03cca866f12be18198898139e558ad31e.zip gdb-041830e03cca866f12be18198898139e558ad31e.tar.gz gdb-041830e03cca866f12be18198898139e558ad31e.tar.bz2 |
More fixes for invalid memory accesses triggered by corrupt binaries.
PR binutils/17512
* dwarf.c (get_encoded_value): Add an 'end' parameter. Change the
'data' parameter to a double pointer and return the updated value.
(decode_location_expression): Update call to get_encoded_value.
(frame_need_space): Handle the case where one or both of the
mallocs fails.
(read_cie): Initialise the cie pointer, even if the read fails.
(display_debug_frames): Warn if the calculated block_end is before
the start of the block. Break the loop if the CIE could not be
read. Update call to get_encoded_value. Warn if the read CFA
expressions are too big.
* ieee.c (ieee_archive_p) Skip processing if no bytes are read at
all.
(ieee_object_p): Likewise.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions