summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmin Azez <azez@ufomechanic.net>2008-01-31 17:04:30 +0000
committerStefan Metzmacher <metze@samba.org>2008-02-01 06:36:32 +0100
commita72a4efa69a1b315a39903806c2ece9367135e2b (patch)
tree460e4e8a05dd22ca9db6d6f79d07f5df8c36601b
parente6362c4d8c287af7a884d6b7f66b86106d6b5ee7 (diff)
downloadsamba-a72a4efa69a1b315a39903806c2ece9367135e2b.tar.gz
samba-a72a4efa69a1b315a39903806c2ece9367135e2b.tar.bz2
samba-a72a4efa69a1b315a39903806c2ece9367135e2b.zip
Fix sending of large nttrans responses.
req_grow_data was growing the original req, not this_req which was being used for the current fragment. (This used to be commit 2ac47f5ab670f971f41f99700dbfb3655fd6737f)
-rw-r--r--source4/smb_server/smb/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/nttrans.c b/source4/smb_server/smb/nttrans.c
index fe65b7a667..dd2ec15e39 100644
--- a/source4/smb_server/smb/nttrans.c
+++ b/source4/smb_server/smb/nttrans.c
@@ -527,7 +527,7 @@ static void reply_nttrans_send(struct ntvfs_request *ntvfs)
this_req = req;
}
- req_grow_data(req, this_param + this_data + (align1 + align2));
+ req_grow_data(this_req, this_param + this_data + (align1 + align2));
SSVAL(this_req->out.vwv, 0, 0); /* reserved */
SCVAL(this_req->out.vwv, 2, 0); /* reserved */