diff options
author | Tim Prouty <tprouty@samba.org> | 2009-05-18 18:20:18 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-05-18 18:31:02 -0700 |
commit | c3bc83314080cd5296f55fa30a8d406593877636 (patch) | |
tree | e2a0d7768a9a3f028debc1918b77c04ea64a9e50 /source3/libsmb | |
parent | 518666102367ce21782cb0f597c136ac125cef05 (diff) | |
download | samba-c3bc83314080cd5296f55fa30a8d406593877636.tar.gz samba-c3bc83314080cd5296f55fa30a8d406593877636.tar.bz2 samba-c3bc83314080cd5296f55fa30a8d406593877636.zip |
s3 sendfile: Fix two bugs in sendfile
These were found interally via code inspection.
1) fake_sendfile was incorrectly writing zeros over real data on a
short read.
2) sendfile_short_send was doing 4 byte writes instead of 1024 byte
writes due to an incorrect sizeof usage.
Jermey, Vl please check
Diffstat (limited to 'source3/libsmb')
0 files changed, 0 insertions, 0 deletions