s3: smbd: SMB1 reply_search() doesn't actually care if the mask contains a wildcard...
authorJeremy Allison <jra@samba.org>
Tue, 29 Sep 2020 18:49:01 +0000 (11:49 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 30 Sep 2020 20:46:40 +0000 (20:46 +0000)
Don't pass to filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c

index 38d9399eea1045417eae974c8fc3cbf11b73737c..25154f4efde53886216d64941f2009d7fb9c51d4 100644 (file)
@@ -1866,7 +1866,7 @@ void reply_search(struct smb_request *req)
                                             path,
                                             ucf_flags,
                                             0,
-                                            &mask_contains_wcard,
+                                            NULL,
                                             &smb_fname);
                if (!NT_STATUS_IS_OK(nt_status)) {
                        if (NT_STATUS_EQUAL(nt_status,NT_STATUS_PATH_NOT_COVERED)) {