From addad261ef91418553dcfd218762cfb69ff1a373 Mon Sep 17 00:00:00 2001 From: kevlo Date: Thu, 15 Mar 2007 09:16:54 +0000 Subject: In auth_script(), change the size of an array to match the number of arguments. --- usr.sbin/pppd/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pppd') diff --git a/usr.sbin/pppd/auth.c b/usr.sbin/pppd/auth.c index c982461..5375aa4 100644 --- a/usr.sbin/pppd/auth.c +++ b/usr.sbin/pppd/auth.c @@ -1615,7 +1615,7 @@ auth_script(script) struct passwd *pw; char struid[32]; char *user_name; - char *argv[8]; + char *argv[7]; if ((pw = getpwuid(getuid())) != NULL && pw->pw_name != NULL) user_name = pw->pw_name; -- cgit v1.1