]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate another instance of the old and well-known
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Mon, 19 Nov 2001 21:52:03 +0000 (21:52 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Mon, 19 Nov 2001 21:52:03 +0000 (21:52 +0000)
commit4cd48bace627b5015d626a3a55fc179e6b35a91f
treef798093db9fae35b826f7b78e1400ccc20826815
parent3e9fbbe1df39196ce531a4d0523737ae959c749e
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
libexec/ftpd/ftpd.c