This patch fixes some illegal memory accesses triggered by running coffdump on fuzzed...
authorNick Clifton <nickc@redhat.com>
Wed, 21 Jan 2015 10:33:19 +0000 (10:33 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Jan 2015 10:33:19 +0000 (10:33 +0000)
commit5b7d62376fc942a803d174789fe4464b26f09a02
treec4db8c8aaa99a110c7dbf3a5fd7eae470813d425
parent901e4fdf1622fce9bfda3d3b8f4c9a20665f5cee
This patch fixes some illegal memory accesses triggered by running coffdump on fuzzed binaries.

PR binutils/17512
* coffgrok.c (do_type): Check that computed ref exists.
(doit): Add range checks when computing section for scope.
binutils/ChangeLog
binutils/coffgrok.c