Re: [PATCH] Ensure that sendfile doesn't try to send beyond the end of the source file. Added some tests, and ensured that the same result is observed under both Linux and OSv.

2016-12-05 Thread Rick Payne
> On 5 Dec 2016, at 04:48, Nadav Har'El wrote: > > Thanks! > > I'm committing this, after changing the commit message a bit: Please always > makes sure that the first line of your commit message is a half-line summary > short (this is shown in "git shortlog" and in commit mails' subject lines

Re: [PATCH] Ensure that sendfile doesn't try to send beyond the end of the source file. Added some tests, and ensured that the same result is observed under both Linux and OSv.

2016-12-05 Thread Nadav Har'El
Thanks! I'm committing this, after changing the commit message a bit: Please always makes sure that the first line of your commit message is a half-line summary short (this is shown in "git shortlog" and in commit mails' subject lines), and the longer summary follows. It bothered me a bit that yo

[PATCH] Ensure that sendfile doesn't try to send beyond the end of the source file. Added some tests, and ensured that the same result is observed under both Linux and OSv.

2016-12-04 Thread Rick Payne
Fixes #815 Signed-off-by: Rick Payne --- fs/vfs/main.cc| 15 +++ tests/tst-sendfile.cc | 28 +++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/fs/vfs/main.cc b/fs/vfs/main.cc index 8fecc08..924bfad 100644 --- a/fs/vfs/main.cc +++ b/fs