Actually need to handle these as errors, but let's just be safe.

This commit is contained in:
Kevin Lange 2014-03-11 07:59:00 -07:00
parent e9e23feb66
commit c67d054526

View File

@ -639,11 +639,11 @@ static int shell_mod(fs_node_t * tty, int argc, char * argv[]) {
}
char * shstrtab;
char * symstrtab;
Elf32_Shdr * sym_shdr;
char * shstrtab = NULL;
char * symstrtab = NULL;
Elf32_Shdr * sym_shdr = NULL;
void * section = NULL;
Elf32_Rel * section_rel;
Elf32_Rel * section_rel = NULL;
fs_printf(tty, "Locating header string table...");
{