aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/ChangeLog5
-rw-r--r--libbacktrace/xcoff.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 313a4c61855..3a2255679c0 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,8 @@
+2017-08-02 David Edelsohn <dje.gcc@gmail.com>
+
+ PR bootstrap/81638
+ * xcoff.c (xcoff_process_linenos): Initialize incl to NULL.
+
2017-07-28 Tony Reix <tony.reix@atos.net>
* xcoff.c: Don't leak a file descriptor if an archive is malformed.
diff --git a/libbacktrace/xcoff.c b/libbacktrace/xcoff.c
index 2faa9fdfa05..b3d7e24256b 100644
--- a/libbacktrace/xcoff.c
+++ b/libbacktrace/xcoff.c
@@ -774,7 +774,7 @@ xcoff_process_linenos (struct backtrace_state *state, uintptr_t base_address,
const b_xcoff_lineno *lineno;
const unsigned char *lineptr;
const char *function;
- struct xcoff_incl *incl;
+ struct xcoff_incl *incl = NULL;
uintptr_t lnnoptr;
uintptr_t pc;
uint32_t lnno;