diff options
author | 1996-09-25 02:06:27 +0000 | |
---|---|---|
committer | 1996-09-25 02:06:27 +0000 | |
commit | d8ed82b3de14f0d563ac58d1cfc6c7a6cda78332 (patch) | |
tree | fff6972eb694181aa3e3930fa7e18398a239ab52 | |
parent | Ensure that termcap get's initializaed before window size. (diff) | |
download | wireguard-openbsd-d8ed82b3de14f0d563ac58d1cfc6c7a6cda78332.tar.xz wireguard-openbsd-d8ed82b3de14f0d563ac58d1cfc6c7a6cda78332.zip |
Fixed buffer overflow.
-rw-r--r-- | usr.sbin/cron/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c index c9cd3a5e75c..0862ffd035e 100644 --- a/usr.sbin/cron/env.c +++ b/usr.sbin/cron/env.c @@ -16,7 +16,7 @@ */ #if !defined(lint) && !defined(LINT) -static char rcsid[] = "$Id: env.c,v 1.1.1.1 1995/10/18 08:47:30 deraadt Exp $"; +static char rcsid[] = "$Id: env.c,v 1.2 1996/09/25 02:06:27 bitblt Exp $"; #endif @@ -115,7 +115,7 @@ load_env(envstr, f) { long filepos; int fileline; - char name[MAX_TEMPSTR], val[MAX_ENVSTR]; + char name[MAX_ENVSTR], val[MAX_ENVSTR]; int fields; filepos = ftell(f); |