Date: Fri, 24 Sep 2004 13:21:52 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/ftpd ftpd.c Message-ID: <200409241321.i8ODLqAB029798@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2004-09-24 13:21:52 UTC
FreeBSD src repository
Modified files:
libexec/ftpd ftpd.c
Log:
o Merge rev. 1.5 libexec/ftpd/ftpd.c from DragonflyBSD:
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@bluewin.ch>
Obtained from: DragonflyBSD
MFC after: 1 month
Revision Changes Path
1.164 +2 -0 src/libexec/ftpd/ftpd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409241321.i8ODLqAB029798>
