Date: Mon, 19 Nov 2001 13:52:03 -0800 (PST) From: Yar Tikhiy <yar@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.c Message-ID: <200111192152.fAJLq3N94389@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2001/11/19 13:52:03 PST
Modified files:
libexec/ftpd ftpd.c
Log:
Eliminate another instance of the old and well-known
DoS bug that the select(2)/accept(2) pair is called on
a socket that is in the blocking I/O mode. The bug is
triggered if a selected connection dies before the accept(2)
leading to the accept(2) blocking virtually forever.
MFC after: 1 week
Revision Changes Path
1.87 +25 -7 src/libexec/ftpd/ftpd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111192152.fAJLq3N94389>
