From: Nick Clifton Date: Tue, 13 Apr 2010 12:20:55 +0000 (+0000) Subject: PR binutils/11419 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e70a64d142b7c88b8024545baeed19dd808d576;p=binutils-gdb.git PR binutils/11419 * dwarf.c (process_debug_info): Initialise the signature array. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2db6368cd8c..72c4194714d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-04-13 Nick Clifton + + PR binutils/11419 + * dwarf.c (process_debug_info): Initialise the signature array. + 2010-04-09 Nick Clifton * dwarf.c (process_debug_info): Remove unused variable diff --git a/binutils/dwarf.c b/binutils/dwarf.c index cf5c8e1ef06..0da2c225913 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -1961,7 +1961,7 @@ process_debug_info (struct dwarf_section *section, unsigned long cu_offset; int offset_size; int initial_length_size; - unsigned char signature[8]; + unsigned char signature[8] = { 0 }; unsigned long type_offset = 0; hdrptr = start;