Another fix for memory access errors trigegred by running readelf on a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Mon, 12 Jan 2015 17:28:55 +0000 (17:28 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 12 Jan 2015 17:28:55 +0000 (17:28 +0000)
commit1306a7421c764d1f5e2a08afdb9b5818662c9e9c
tree5cb172294b01ccd1fbcbdccdc6755c79e3e142ee
parent4ac15b59f2f506ff0ad59f148275cd7406b8d765
Another fix for memory access errors trigegred by running readelf on a corrupt binary.

PR binutils/17531
* dwarf.c (display_debug_addr): Use xcalloc to allocate the debug_addr_info
array.  Check for an address_base that is too large.
binutils/ChangeLog
binutils/dwarf.c