]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_virusfilter: realign synthetic_smb_fname() args in infected_file_action_quarantine()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 13:05:46 +0000 (15:05 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:39 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_virusfilter.c

index 46dbfa1b0895488bc4001bf83588fcb391fff274..0244c04289c326fa28eaf85bf2fe10796bd7c5bf 100644 (file)
@@ -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;