Bug#641419: linux-image-2.6.32-5-amd64: sendfile(2) behaves incorrectly in 2.6.32-5-amd64, overwriting written data

2011-09-14 Thread Mike Ashton
On Tue, Sep 13, 2011 at 01:34:17PM +0100, Ben Hutchings wrote: On Tue, 2011-09-13 at 10:18 +, Mike Ashton wrote: Package: linux-2.6 Version: 2.6.32-35squeeze2 Severity: important In the squeeze standard 64 bit kernel (with either 64 or 32 bit userspace) sendfile(2) is

Bug#641419: linux-image-2.6.32-5-amd64: sendfile(2) behaves incorrectly in 2.6.32-5-amd64, overwriting written data

2011-09-13 Thread Mike Ashton
Package: linux-2.6 Version: 2.6.32-35squeeze2 Severity: important In the squeeze standard 64 bit kernel (with either 64 or 32 bit userspace) sendfile(2) is overwriting data already written to the file descriptor by write(2). Here's a minimal test case:

Bug#641419: linux-image-2.6.32-5-amd64: sendfile(2) behaves incorrectly in 2.6.32-5-amd64, overwriting written data

2011-09-13 Thread Ben Hutchings
On Tue, 2011-09-13 at 10:18 +, Mike Ashton wrote: Package: linux-2.6 Version: 2.6.32-35squeeze2 Severity: important In the squeeze standard 64 bit kernel (with either 64 or 32 bit userspace) sendfile(2) is overwriting data already written to the file descriptor by write(2). Here's a