git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3611cc
)
s3: smbd: SMB1 reply_search(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()
author
Jeremy Allison
<jra@samba.org>
Tue, 29 Sep 2020 19:07:39 +0000
(12:07 -0700)
committer
Ralph Boehme
<slow@samba.org>
Wed, 30 Sep 2020 20:46:40 +0000
(20:46 +0000)
If we have a wildcard is found by other means now.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index e848d6c553cdbd376a3805193d41ac32a4169b04..5f2b8dfd1c9c36eae1cb2c0dcd7b075b8bdbf3a7 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-1839,8
+1839,8
@@
void reply_search(struct smb_request *req)
maxentries = SVAL(req->vwv+0, 0);
dirtype = SVAL(req->vwv+1, 0);
p = (const char *)req->buf + 1;
- p += srvstr_get_path_req
_wcard
(ctx, req, &path, p, STR_TERMINATE,
- &nt_status
, &mask_contains_wcard
);
+ p += srvstr_get_path_req(ctx, req, &path, p, STR_TERMINATE,
+ &nt_status);
if (!NT_STATUS_IS_OK(nt_status)) {
reply_nterror(req, nt_status);
goto out;