git.samba.org
/
metze
/
samba
/
wb-ndr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c630bec
)
Fix sending of large nttrans responses.
author
Amin Azez
<azez@ufomechanic.net>
Thu, 31 Jan 2008 17:04:30 +0000
(17:04 +0000)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 1 Feb 2008 05:36:32 +0000
(06:36 +0100)
req_grow_data was growing the original req, not this_req which
was being used for the current fragment.
source/smb_server/smb/nttrans.c
patch
|
blob
|
history
diff --git
a/source/smb_server/smb/nttrans.c
b/source/smb_server/smb/nttrans.c
index fe65b7a6675b860cee106281ffc348c3c3ae346b..dd2ec15e39c426d9640eedb4eb0a8a1d4323b97c 100644
(file)
--- a/
source/smb_server/smb/nttrans.c
+++ b/
source/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 */