From bdaa6cae8232e727ec429decb08eba8b0653d3b4 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Sun, 3 May 2020 15:05:46 +0200 Subject: [PATCH] vfs_virusfilter: realign synthetic_smb_fname() args in infected_file_action_quarantine() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/modules/vfs_virusfilter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.47.3