]> git.wh0rd.org Git - elf2flt.git/commitdiff
Fix an uninitialized variable.
authorKirill Smirnov <kirill.k.smirnov@gmail.com>
Mon, 12 Sep 2016 10:37:26 +0000 (13:37 +0300)
committerKirill Smirnov <kirill.k.smirnov@gmail.com>
Mon, 12 Sep 2016 10:37:26 +0000 (13:37 +0300)
Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
elf2flt.c

index 3f315698ed00cf9f948a473eaaaeac81ec8c8a41..1519e06c04f58c6d2909062578c540f722d65682 100644 (file)
--- a/elf2flt.c
+++ b/elf2flt.c
@@ -363,6 +363,7 @@ dump_symbols(symbols, number_of_symbols);
   *n_relocs = 0;
   flat_relocs = NULL;
   flat_reloc_count = 0;
+  sym_reloc_size = 0;
   rc = 0;
   pflags = 0;
   /* Silence gcc warnings */