diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-07-24 21:11:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-07-24 21:11:03 +0000 |
commit | 4d88700961618aeedb76113c8e0eb32fadf33e30 (patch) | |
tree | 8f290f276f273b052e62a373d2a323747ca6a558 /usr.bin | |
parent | 9a02f8d8e7a260c160c82f700e7d9ec3959c09d4 (diff) |
same uninit variable bug as in elf_syms.c
Diffstat (limited to 'usr.bin')
-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; |