Date: Wed, 9 Jul 2003 06:54:33 -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: <200307091354.h69DsXfp041276@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307091354.h69DsXfp041276>
