From: Ralph Boehme Date: Sun, 3 May 2020 13:05:46 +0000 (+0200) Subject: vfs_virusfilter: realign synthetic_smb_fname() args in infected_file_action_quarantine() X-Git-Tag: ldb-2.2.0~707 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bdaa6cae8232e727ec429decb08eba8b0653d3b4;p=thirdparty%2Fsamba.git vfs_virusfilter: realign synthetic_smb_fname() args in infected_file_action_quarantine() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_virusfilter.c b/source3/modules/vfs_virusfilter.c index 46dbfa1b089..0244c04289c 100644 --- a/source3/modules/vfs_virusfilter.c +++ b/source3/modules/vfs_virusfilter.c @@ -666,9 +666,11 @@ static virusfilter_action infected_file_action_quarantine( goto out; } - q_smb_fname = synthetic_smb_fname(frame, q_filepath, + q_smb_fname = synthetic_smb_fname(frame, + q_filepath, smb_fname->stream_name, - NULL, smb_fname->flags); + NULL, + smb_fname->flags); if (q_smb_fname == NULL) { action = VIRUSFILTER_ACTION_DO_NOTHING; goto out;