Fixes illegal memory accesses triggereb by running a 32-bit binary version of objdump...
authorNick Clifton <nickc@redhat.com>
Fri, 6 Feb 2015 11:12:02 +0000 (11:12 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 6 Feb 2015 11:12:54 +0000 (11:12 +0000)
commit5929c344f957f93253efa4c3495a996789d48ae7
tree58ccb0820dc7aa39ca8d4a9645d7219421d32f1f
parent77f41761432a70930ea0a917a2f135b392af34f5
Fixes illegal memory accesses triggereb by running a 32-bit binary version of objdump compiled on a 64-bit host.

PR binutils/17512
* dwarf.c (display_debug_frames): Fix range checks to work on
32-bit binaries complied on a 64-bit host.

* peXXigen.c (rsrc_print_resource_entries): Add range check for
addresses that wrap around the address space.
(rsrc_parse_entry): Likewise.
bfd/ChangeLog
bfd/peXXigen.c
binutils/ChangeLog
binutils/dwarf.c