Date: Wed, 9 Jul 2003 06:15:32 -0700 (PDT) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpcmd.y Message-ID: <200307091315.h69DFWO9029535@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307091315.h69DFWO9029535>