artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936ccdd
)
Fix array overflow in command line handling
author
guenther
<guenther@openbsd.org>
Sun, 20 Jul 2014 11:20:52 +0000
(11:20 +0000)
committer
guenther
<guenther@openbsd.org>
Sun, 20 Jul 2014 11:20:52 +0000
(11:20 +0000)
usr.bin/telnet/main.c
patch
|
blob
|
history
diff --git
a/usr.bin/telnet/main.c
b/usr.bin/telnet/main.c
index
1c202d0
..
4843ec7
100644
(file)
--- a/
usr.bin/telnet/main.c
+++ b/
usr.bin/telnet/main.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: main.c,v 1.2
8 2014/07/20 10:32:23 jsg Exp $
*/
+/* $OpenBSD: main.c,v 1.2
9 2014/07/20 11:20:52 guenther Exp $
*/
/* $NetBSD: main.c,v 1.5 1996/02/28 21:04:05 thorpej Exp $ */
/*
@@
-175,7
+175,7
@@
main(argc, argv)
argv += optind;
if (argc) {
- char *args[
7
], **argp = args;
+ char *args[
8
], **argp = args;
if (argc > 2)
usage();