Prevent illegal memory accesses triggerd by intger overflow when parsing corrupt...
authorNick Clifton <nickc@redhat.com>
Thu, 1 Mar 2018 16:14:08 +0000 (16:14 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 1 Mar 2018 16:14:08 +0000 (16:14 +0000)
commitd11ae95ea3403559f052903ab053f43ad7821e37
tree124027e40c609d4fd8493859a13b452344f5d11f
parent0cb7c7b0bb79be910e261f3d30c58ace6b0d06d1
Prevent illegal memory accesses triggerd by intger overflow when parsing corrupt DWARF information on a 32-bit host.

PR 22905
* dwarf.c (display_debug_ranges): Check that the offset loaded
from the range_entry structure is valid.
binutils/ChangeLog
binutils/dwarf.c