Fix memory access violations exposed by running the srconv tool on fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Wed, 7 Jan 2015 16:41:25 +0000 (16:41 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 7 Jan 2015 16:41:25 +0000 (16:41 +0000)
commitc88f5b8e495889f5d281a17bd56340d9a0e4cff6
tree5e133afda04cfc1f388722a8887db5752a308e37
parentea42d6f8d1e24403e533e5dfea18e94c47ac534b
Fix memory access violations exposed by running the srconv tool on fuzzed binaries.

PR binutils/17512
* objdump.c (display_any_bfd): Add a depth limit to nested archive
display in order to avoid infinite loops.
* srconv.c: Replace calls to abort with calls to fatal with an
error message.
binutils/ChangeLog
binutils/objdump.c
binutils/srconv.c