From owner-cvs-all Mon Nov 19 13:52: 6 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1294537B416; Mon, 19 Nov 2001 13:52:04 -0800 (PST) Received: (from yar@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAJLq3N94389; Mon, 19 Nov 2001 13:52:03 -0800 (PST) (envelope-from yar) Message-Id: <200111192152.fAJLq3N94389@freefall.freebsd.org> From: Yar Tikhiy Date: Mon, 19 Nov 2001 13:52:03 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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