This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12866] gdb fail to load elf compiled by ARM RVCT3.1
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 06 Nov 2013 15:15:50 +0000
- Subject: [Bug gdb/12866] gdb fail to load elf compiled by ARM RVCT3.1
- Auto-submitted: auto-generated
- References: <bug-12866-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12866
--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
via b9502d3fd7848cd4d843be8bdc28633a3d24438d (commit)
from 452a569eff947a21369d43cc7632c320e5b8a085 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b9502d3fd7848cd4d843be8bdc28633a3d24438d
commit b9502d3fd7848cd4d843be8bdc28633a3d24438d
Author: Will Newton <will.newton@linaro.org>
Date: Fri Nov 1 14:14:50 2013 -0700
gdb/dwarf2read.c: Sanity check DW_AT_sibling values.
When reading objects with corrupt debug information it is possible that
the sibling chain can form a loop, which leads to an infinite loop and
memory exhaustion.
Avoid this situation by disregarding and DW_AT_sibling values that point
to a lower address than the current entry.
gdb/ChangeLog:
2013-11-06 Will Newton <will.newton@linaro.org>
PR gdb/12866
* dwarf2read.c (skip_one_die): Sanity check DW_AT_sibling
values. (read_partial_die): Likewise.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 6 ++++++
gdb/dwarf2read.c | 22 ++++++++++++++++++++--
2 files changed, 26 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.