aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/readelf.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5565bb5..cf11c8d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2019-06-11 Christos Zoulas <christos@zoulas.com>
+
+ PR 24661
+ * readelf.c (decode_arm_unwind): Ensure that the local variable
+ 'addr' is always initialised.
+
2019-06-10 Christos Zoulas <christos@zoulas.com>
PR 24651
diff --git a/binutils/readelf.c b/binutils/readelf.c
index febfd1a..6246de6 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9029,6 +9029,11 @@ decode_arm_unwind (Filedata * filedata,
remaining = 4;
}
+ else
+ {
+ addr.section = SHN_UNDEF;
+ addr.offset = 0;
+ }
if ((word & 0x80000000) == 0)
{