From 81951f9ed72164d4a8fbc1565d74e69a2d7d2dfc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 13 Apr 2010 12:20:54 +0000 Subject: [PATCH] PR binutils/11419 * dwarf.c (process_debug_info): Initialise the signature array. --- binutils/ChangeLog | 5 +++++ binutils/dwarf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 2db6368cd..72c419471 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 cf5c8e1ef..0da2c2259 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; -- 2.11.4.GIT