diff options
author | kevlo <kevlo@FreeBSD.org> | 2007-03-15 09:16:54 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2007-03-15 09:16:54 +0000 |
commit | addad261ef91418553dcfd218762cfb69ff1a373 (patch) | |
tree | c92bf4475d4fab9c317be9b4bc75fa40578ab776 | |
parent | 74244a8ee15f8d26e69ee78532463ce077032893 (diff) | |
download | FreeBSD-src-addad261ef91418553dcfd218762cfb69ff1a373.zip FreeBSD-src-addad261ef91418553dcfd218762cfb69ff1a373.tar.gz |
In auth_script(), change the size of an array to match the number of
arguments.
-rw-r--r-- | usr.sbin/pppd/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |