diff options
author | 2007-07-24 21:11:02 +0000 | |
---|---|---|
committer | 2007-07-24 21:11:02 +0000 | |
commit | 92af37c0718bdba4764dc73c518f21bb91113ca3 (patch) | |
tree | 1334365b3574615324bc0eab4d39c2c889b23573 | |
parent | reindent (no binary change) (diff) | |
download | wireguard-openbsd-92af37c0718bdba4764dc73c518f21bb91113ca3.tar.xz wireguard-openbsd-92af37c0718bdba4764dc73c518f21bb91113ca3.zip |
same uninit variable bug as in elf_syms.c
-rw-r--r-- | usr.bin/pmdb/aout_syms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pmdb/aout_syms.c b/usr.bin/pmdb/aout_syms.c index aff29d1eec8..ef9f3e4d479 100644 --- a/usr.bin/pmdb/aout_syms.c +++ b/usr.bin/pmdb/aout_syms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aout_syms.c,v 1.10 2003/04/25 20:07:09 pvalchev Exp $ */ +/* $OpenBSD: aout_syms.c,v 1.11 2007/07/24 21:11:02 deraadt Exp $ */ /* * Copyright (c) 2002 Federico Schwindt <fgsch@openbsd.org> * All rights reserved. @@ -238,7 +238,7 @@ int aout_lookup(struct pstate *ps, const char *name, reg *res) { struct sym_table *st; - struct nlist *s; + struct nlist *s = NULL; int first = 1; char *sname = (char *)name; |