[PATCH 2/2] Flag smb messages array with AND_X and LARGE_REQUEST

Amin Azez azez at ufomechanic.net
Mon Mar 10 10:10:19 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: 739440305c138f5100e65e00f84c94091c589783.diff
Type: text/x-patch
Size: 4916 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080310/59e5ee16/739440305c138f5100e65e00f84c94091c589783.bin


More information about the samba-technical mailing list