diff options
author | Ralph Boehme <slow@samba.org> | 2019-04-25 10:57:58 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-05-09 20:43:53 +0000 |
commit | 219bc189472acff24410009ee16a409e0aaf8eef (patch) | |
tree | 2d5cbd5acb7af511c9523160df357318052d6a0e /source3 | |
parent | fd4b1f4f16aee3e3c9a2cb449655edfed171963a (diff) | |
download | samba-219bc189472acff24410009ee16a409e0aaf8eef.tar.gz |
s3:smbd: don't use recvfile on streams
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13938
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu May 9 20:43:53 UTC 2019 on sn-devel-184
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index bb2d626539b..5057cf68d7b 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -3541,6 +3541,9 @@ static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state) if (IS_PRINT(fsp->conn)) { return false; } + if (fsp->base_fsp != NULL) { + return false; + } DEBUG(10,("Doing recvfile write len = %u\n", (unsigned int)(state->pktfull - state->pktlen))); |