summaryrefslogtreecommitdiffstats
path: root/usr.sbin/authpf
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-01-10 19:08:53 +0000
committermiod <miod@openbsd.org>2009-01-10 19:08:53 +0000
commit979e17136fdc47e734162871d14759a0238bb967 (patch)
tree2bbcdda4d636793592503479ba7fa467f8717bd8 /usr.sbin/authpf
parentEnable cbus(4) and vnet(4). (diff)
downloadwireguard-openbsd-979e17136fdc47e734162871d14759a0238bb967.tar.xz
wireguard-openbsd-979e17136fdc47e734162871d14759a0238bb967.zip
Uninitialized variable introduced in 1.110.
Diffstat (limited to 'usr.sbin/authpf')
-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))) {