[PATCH 2/2] Flag smb messages array with AND_X and LARGE_REQUEST
Amin Azez
azez at ufomechanic.net
Mon Mar 10 13:20:14 GMT 2008
If smb_messages flags show for which opcodes VWV(0)
signifies chaining modes, and also which opcodes can
have requests >64K then the bcc / req->in.data_size
fixup in smbsrv_recv_smb_request can be more safely
applied.
This fix permits nttrans requests >64K to be handled.
It is not yet clear if THAT is a good thing, but this
fix does the current thing more nicely.
Signed-off-by: Amin Azez <azez at ufomechanic.net>
---
source/smb_server/smb/receive.c | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 85d2043ca79caa96cfa31e92250a21ad9a014eba.diff
Type: text/x-patch
Size: 4916 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080310/64cf1326/85d2043ca79caa96cfa31e92250a21ad9a014eba.bin
More information about the samba-technical
mailing list