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)
committerJeremy Allison <jra@samba.org>
Fri, 11 Apr 2014 19:41:08 +0000 (21:41 +0200)
commit1f767b29a89e15c4d7187cd0bc9b0c2e3152edd7
treeb815df001069b454287feb11fd24ab1a6ad32c65
parent95df39b99f17810cb230c4a6a0d0952919cd0b81
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>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_write.c