aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-11-01 14:14:50 -0700
committerWill Newton <will.newton@linaro.org>2013-11-06 15:15:12 +0000
commitb9502d3fd7848cd4d843be8bdc28633a3d24438d (patch)
tree8160e3a77056ebca0faeb0aa6893b826d6da8441 /gdb/ChangeLog
parent452a569eff947a21369d43cc7632c320e5b8a085 (diff)
downloadgdb-b9502d3fd7848cd4d843be8bdc28633a3d24438d.zip
gdb-b9502d3fd7848cd4d843be8bdc28633a3d24438d.tar.gz
gdb-b9502d3fd7848cd4d843be8bdc28633a3d24438d.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e721f02..45f92e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2013-11-06 Muhammad Bilal <mbilal@codesourcery.com>
PR cli/16122