From: Jeremy Allison Date: Tue, 29 Sep 2020 18:49:01 +0000 (-0700) Subject: s3: smbd: SMB1 reply_search() doesn't actually care if the mask contains a wildcard... X-Git-Tag: talloc-2.3.2~407 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97a4dfbd4a3184cac49dceb1ef0b016e891f96d2;p=thirdparty%2Fsamba.git s3: smbd: SMB1 reply_search() doesn't actually care if the mask contains a wildcard or not. Don't pass to filename_convert(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 38d9399eea1..25154f4efde 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -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)) {