Fix memort access problems exposed by fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Tue, 18 Nov 2014 10:07:11 +0000 (10:07 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 18 Nov 2014 10:07:11 +0000 (10:07 +0000)
commit0eff716535f3e8f501d6b438f7f796b70a0b9f98
tree8b7a2dc8ccc4db0997b3cd3a5a17f61189e3d685
parent25a0334e39963239f03555efe7e933558cc897e0
Fix memort access problems exposed by fuzzed binaries.

PR binutils/17531
* readelf.c (get_unwind_section_word): Skip reloc processing if
there are no relocs associated with the section.
(decode_tic6x_unwind_bytecode): Warn and return if the stack
pointer adjustment falls off the end of the buffer.
binutils/ChangeLog
binutils/readelf.c