[SCM] Samba Shared Repository - branch master updated -
2c0faaf5d921fe57a88d3b999067458e8774c6f6
Jeremy Allison
jra at samba.org
Sun Jan 4 19:47:45 GMT 2009
The branch, master has been updated
via 2c0faaf5d921fe57a88d3b999067458e8774c6f6 (commit)
from 033428d7da12a6ddc741aa6c70c65eca57b6d182 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 2c0faaf5d921fe57a88d3b999067458e8774c6f6
Author: Jeremy Allison <jra at samba.org>
Date: Sun Jan 4 11:47:16 2009 -0800
Fix bug #6009 - Setting "min receivefile size = 1" breaks writes.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/process.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 8466e84..67e6067 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -284,7 +284,7 @@ static NTSTATUS receive_smb_raw_talloc(TALLOC_CTX *mem_ctx, int fd,
if (CVAL(lenbuf,0) == 0 &&
min_recv_size &&
- smb_len_large(lenbuf) > min_recv_size && /* Could be a UNIX large writeX. */
+ smb_len_large(lenbuf) > (min_recv_size + STANDARD_WRITE_AND_X_HEADER_SIZE) && /* Could be a UNIX large writeX. */
!srv_is_signing_active()) {
return receive_smb_raw_talloc_partial_read(
--
Samba Shared Repository
More information about the samba-cvs
mailing list