1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00

Missing initialization; tjenahej@speedmail.se

This commit is contained in:
miod 2015-01-19 20:25:36 +00:00
parent 29a36ee64c
commit 2b8e2220cd

View File

@ -1,4 +1,4 @@
/* $OpenBSD: elf.c,v 1.24 2015/01/16 06:40:10 deraadt Exp $ */
/* $OpenBSD: elf.c,v 1.25 2015/01/19 20:25:36 miod Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@ -550,7 +550,7 @@ elf_symload(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh,
}
stab = NULL;
*pnames = NULL; *psnames = NULL;
*pnames = NULL; *psnames = NULL; *pnrawnames = 0;
elf_symloadx(name, fp, foff, eh, shdr, shstr, pnames,
psnames, pstabsize, pnrawnames, ELF_STRTAB, ELF_SYMTAB);
if (stab == NULL) {