mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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
This commit is contained in:
parent
fd4b1f4f16
commit
219bc18947
@ -3541,6 +3541,9 @@ static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state)
|
|||||||
if (IS_PRINT(fsp->conn)) {
|
if (IS_PRINT(fsp->conn)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (fsp->base_fsp != NULL) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
DEBUG(10,("Doing recvfile write len = %u\n",
|
DEBUG(10,("Doing recvfile write len = %u\n",
|
||||||
(unsigned int)(state->pktfull - state->pktlen)));
|
(unsigned int)(state->pktfull - state->pktlen)));
|
||||||
|
Loading…
Reference in New Issue
Block a user