PR binutils/11419

* dwarf.c (process_debug_info): Initialise the signature array.
This commit is contained in:
Nick Clifton 2010-04-13 12:20:55 +00:00
parent ae3bccd49a
commit 1e70a64d14
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-04-13 Nick Clifton <nickc@redhat.com>
PR binutils/11419
* dwarf.c (process_debug_info): Initialise the signature array.
2010-04-09 Nick Clifton <nickc@redhat.com>
* dwarf.c (process_debug_info): Remove unused variable

View File

@ -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;