diff options
author | kris <kris@FreeBSD.org> | 2000-11-19 10:01:27 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-19 10:01:27 +0000 |
commit | b9600b6040035f681b83eda8979335c946311ee1 (patch) | |
tree | f493a515cd0893d16ff0a83b02000608877bc9ce /libexec/telnetd/ext.h | |
parent | f265931038bd5d4784d95756bac9482fea5c237a (diff) | |
download | FreeBSD-src-b9600b6040035f681b83eda8979335c946311ee1.zip FreeBSD-src-b9600b6040035f681b83eda8979335c946311ee1.tar.gz |
Don't use sizeof() on a pointer when we really wanted to measure
the length of the array.
Noticed by: Christos Zoulas <christos@ZOULAS.COM>
Obtained from: OpenBSD
Diffstat (limited to 'libexec/telnetd/ext.h')
-rw-r--r-- | libexec/telnetd/ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/ext.h b/libexec/telnetd/ext.h index bce0e2a..98e74b7 100644 --- a/libexec/telnetd/ext.h +++ b/libexec/telnetd/ext.h @@ -87,7 +87,7 @@ extern char *unptyip; /* pointer to remaining characters in buffer */ #endif extern int pty, net; -extern char *line; +extern char line[16]; extern int SYNCHing; /* we are in TELNET SYNCH mode */ #ifndef P |