cvs commit: src/sys/kern uipc_syscalls.c

Dag-Erling Smørgrav des at des.no
Tue May 22 10:44:50 UTC 2007


Robert Watson <rwatson at FreeBSD.org> writes:
> Alfred Perlstein <alfred at freebsd.org> writes:
> > Is this the same bug that used to be in sendfile but got corrected
> > some years back?
> Dunno, but it sounds like we really need a comprehensive set of
> edge-case tests for sendfile.

This was not an edge case.  The edge case (no offset, no length, no
header) was the one that worked; it was the non-trivial case (non-zero
offset, explicit length, non-empty header) that was broken.  Nobody
noticed because existing code (Apache, ftpd) only exercises the edge
case.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list