aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/peXXigen.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 07cd593..cc814e9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-23 Matthias Klose <doko@ubuntu.com>
+
+ * bfd/peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
+
2009-04-22 Christophe Lyon <christophe.lyon@st.com>
PR9743
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index fb8ced0..76224cb 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -130,7 +130,7 @@ _bfd_XXi_swap_sym_in (bfd * abfd, void * ext1, void * in1)
if (in->n_sclass == C_SECTION)
{
char namebuf[SYMNMLEN + 1];
- const char *name;
+ const char *name = NULL;
in->n_value = 0x0;