A bug in the sendfile(2) system call has been fixed in FreeBSD at 1 December 2003. The synopsis of the bug is: the data sent with help of sendfile(2) would be corrupted due to sendfile(2) being erroneously automatically restarted after a signal is delivered. The fixed sendfile(2) system call returns the EINTR error, which was not documented earlier. BSDftpd-ssl 1.0.0 will send the corrupted data in all FreeBSD versions before 1 December 2003 (include RELENG_4_9 and RELENG_5_1 Security Branches). In FreeBSD versions after 1 December 2003 the data transfer may be aborted with the next message, because the EINTR error isn't handled: "426 Data connection: Interrupted system call". References: CVS log for src/sys/kern/uipc_syscalls.c: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/uipc_syscalls.c URL for BSDftpd-ssl's Bug Fix Advisory: http://bsdftpd-ssl.sc.ru/news/bfa_20040112.txt
State Changed From-To: open->closed Committed, thanks!