s3:smb2_write: allow SMBD_SMB2_IN_DYN_LEN() to be 0 for the recvfile case.
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Nov 2013 12:45:37 +0000 (13:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Mar 2014 23:04:39 +0000 (00:04 +0100)
commitf59aa0798ca309b236d6adbe80a43e8815b15dc9
tree6cf4344ce3e0e9c64de0e7ef9d95a92e74f0d8d6
parentd3b60d05df1771142e2ebd7d0f8da3d35db6f8b3
s3:smb2_write: allow SMBD_SMB2_IN_DYN_LEN() to be 0 for the recvfile case.

For recvfile we haven't read and may not allocated the dyn buffer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_write.c