From: Jeremy Allison Date: Tue, 29 Sep 2020 18:10:19 +0000 (-0700) Subject: s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we can use... X-Git-Tag: talloc-2.3.2~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f43c04164db3a93b4eb5715d6626ff3dd18d806a;p=thirdparty%2Fsamba.git s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we can use srvstr_get_path_req() instead of srvstr_get_path_req_wcard(). Signed-off-by: Jeremy Allison Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index a178a6bad1f..197ab75a3b4 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -1740,8 +1740,8 @@ void reply_ntrename(struct smb_request *req) } p++; - p += srvstr_get_path_req_wcard(ctx, req, &newname, p, STR_TERMINATE, - &status, &dest_has_wcard); + p += srvstr_get_path_req(ctx, req, &newname, p, STR_TERMINATE, + &status); if (!NT_STATUS_IS_OK(status)) { reply_nterror(req, status); goto out;