cvs commit: src/libexec/ftpd
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Sep 19 17:59:41 PDT 2004
dillon 2004/09/19 17:58:36 PDT
DragonFly src repository
Modified files:
libexec/ftpd ftpd.c
Log:
Do not unconditionally fork() after accept(). accept() can return -1 due
to an interrupted system call (i.e. SIGCHLD). If we fork in that case
ftpd can get into an accept()/SIGCHLD/fork/[fail]/repeat loop.
Reported-by: fabian <fabian.duelli at xxxxxxxxxx>
Revision Changes Path
1.5 +10 -7 src/libexec/ftpd/ftpd.c
http://www.dragonflybsd.org/cvsweb/src/libexec/ftpd/ftpd.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list