cvs commit: src/libexec/ftpd ftpcmd.y
Yar Tikhiy
yar at FreeBSD.org
Wed Jul 9 06:15:33 PDT 2003
yar 2003/07/09 06:15:32 PDT
FreeBSD src repository
Modified files:
libexec/ftpd ftpcmd.y
Log:
Improve error handling in getline():
- always check the return value from getc(3) for EOF;
- if the attempt to read the TELNET command byte has
returned EOF, exit from the loop instead of using
the EOF value as a normal character.
MFC after: 1 week
Revision Changes Path
1.53 +7 -4 src/libexec/ftpd/ftpcmd.y
More information about the cvs-src
mailing list