libdw: Sanity check end of section against cu_data () of die->cu.
authorMark Wielaard <mjw@redhat.com>
Tue, 26 Apr 2011 15:15:28 +0000 (17:15 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 26 Apr 2011 15:15:28 +0000 (17:15 +0200)
commitf4c39c7ccba57bcc71ab92760f4194b3e4667bb7
tree2c05ab56dcd010ea6e15e2d9af717e2187d2e52b
parented52618203ac78179e3a0cf36db5bdca8958da1d
libdw: Sanity check end of section against cu_data () of die->cu.

A Dwarf_CU can come from either the debug_info compile unit or a
debug_type type unit section. Use the correct one for sanity checking
whether we have a truncated section.
libdw/ChangeLog
libdw/dwarf_child.c