From owner-cvs-src@FreeBSD.ORG Wed Jul 9 06:54:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B1E437B401; Wed, 9 Jul 2003 06:54:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB2DB43F75; Wed, 9 Jul 2003 06:54:33 -0700 (PDT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h69DsX0U041277; Wed, 9 Jul 2003 06:54:33 -0700 (PDT) (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h69DsXfp041276; Wed, 9 Jul 2003 06:54:33 -0700 (PDT) Message-Id: <200307091354.h69DsXfp041276@repoman.freebsd.org> From: Yar Tikhiy Date: Wed, 9 Jul 2003 06:54:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/libexec/ftpd ftpcmd.y X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 13:54:34 -0000 yar 2003/07/09 06:54:33 PDT FreeBSD src repository Modified files: libexec/ftpd ftpcmd.y Log: Block SIGURG while reading from the control channel. Rationale: SIGURG is configured by ftpd to interrupt system calls, which is useful during data transfers. However, SIGURG could interrupt I/O on the control channel as well, which was mistaken for the end of the session. A practical example could be aborting the download of a tiny file, when the abort sequence reached ftpd after ftpd had passed the file data to the system and returned to its command loop. Reported by: ceri MFC after: 1 week Revision Changes Path 1.54 +6 -0 src/libexec/ftpd/ftpcmd.y