[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed May 5 10:40:11 MDT 2010


The branch, master has been updated
       via  44e9a90... Start to pass the SMB2 read torture tests.
      from  8528e34... s3-lanman: use srvsvc for api_RNetShareAdd().

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 44e9a90b512cd9eeaaa59fa1756a235621819f88
Author: Jeremy Allison <jra at samba.org>
Date:   Wed May 5 09:39:31 2010 -0700

    Start to pass the SMB2 read torture tests.
    
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/smb2_read.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_read.c b/source3/smbd/smb2_read.c
index aa2805d..a858758 100644
--- a/source3/smbd/smb2_read.c
+++ b/source3/smbd/smb2_read.c
@@ -289,7 +289,7 @@ static struct tevent_req *smbd_smb2_read_send(TALLOC_CTX *mem_ctx,
 		tevent_req_nterror(req, NT_STATUS_ACCESS_DENIED);
 		return tevent_req_post(req, ev);
 	}
-	if (nread == 0 && in_length != 0) {
+	if (nread == 0 && (in_length != 0 || in_minimum != 0)) {
 		DEBUG(5,("smbd_smb2_read: read_file[%s] end of file\n",
 			 fsp_str_dbg(fsp)));
 		tevent_req_nterror(req, NT_STATUS_END_OF_FILE);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list