summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-10 19:08:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-10 19:08:54 +0000
commit77353b43cbc8c402ffa8cefeede8a922d3e12598 (patch)
tree6f8831e87d2edb4d40fd41c11f04e959017ed78a
parentc092dba7ae21f61ddd715e918cd4249114c24cfc (diff)
Uninitialized variable introduced in 1.110.
-rw-r--r--usr.sbin/authpf/authpf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index 45f36acf733..8f8c42096f5 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.111 2009/01/10 17:17:32 todd Exp $ */
+/* $OpenBSD: authpf.c,v 1.112 2009/01/10 19:08:53 miod Exp $ */
/*
* Copyright (C) 1998 - 2007 Bob Beck (beck@openbsd.org).
@@ -483,7 +483,9 @@ allowed_luser(struct passwd *pw)
*/
int gl_init = 0, ngroups = NGROUPS + 1;
gid_t groups[NGROUPS + 1];
+
lbuf = NULL;
+ matched = 0;
while ((buf = fgetln(f, &len))) {