[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-859-g3c9973b

Andrew Tridgell tridge at samba.org
Sat Feb 16 02:29:27 GMT 2008


The branch, v4-0-test has been updated
       via  3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1 (commit)
      from  26475a231f73aaeef31e433b33dbfee6158e321d (commit)

http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1
Author: Andrew Tridgell <tridge at samba.org>
Date:   Sat Feb 16 13:28:37 2008 +1100

    fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
    this.

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

Summary of changes:
 source/libcli/raw/rawreadwrite.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libcli/raw/rawreadwrite.c b/source/libcli/raw/rawreadwrite.c
index 2005e36..9e4edaf 100644
--- a/source/libcli/raw/rawreadwrite.c
+++ b/source/libcli/raw/rawreadwrite.c
@@ -171,6 +171,9 @@ NTSTATUS smb_raw_read_recv(struct smbcli_request *req, union smb_read *parms)
 			    parms->readx.out.nread <= 
 			    req->in.buffer + req->in.size) {
 				req->in.data_size += (SVAL(req->in.vwv, VWV(7)) << 16);
+
+				/* update the bufinfo with the new size */
+				smb_setup_bufinfo(req);
 			}
 		}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list