aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/stabs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2a7989a..838a4bf 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-29 Ben Elliston <bje@redhat.com>
+
+ * stabs.c (stab_demangle_template): Initialise s4.
+
2001-08-27 Alan Modra <amodra@bigpond.net.au>
* readelf.c (dump_relocations): Recognise EM_PPC64.
diff --git a/binutils/stabs.c b/binutils/stabs.c
index daea301..8045140 100644
--- a/binutils/stabs.c
+++ b/binutils/stabs.c
@@ -4461,7 +4461,7 @@ stab_demangle_template (minfo, pp, pname)
regular demangling routine. */
if (pname != NULL)
{
- char *s1, *s2, *s3, *s4;
+ char *s1, *s2, *s3, *s4 = NULL;
char *from, *to;
s1 = savestring (orig, *pp - orig);