git.samba.org
/
iboukris
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea69c2
)
s3: smbd: As srvstr_get_path_internal() ignores the wcard parameter, use check_path_s...
author
Jeremy Allison
<jra@samba.org>
Wed, 30 Sep 2020 00:16:26 +0000
(17:16 -0700)
committer
Ralph Boehme
<slow@samba.org>
Wed, 30 Sep 2020 20:46:41 +0000
(20:46 +0000)
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 fe56d44d14f7669156bfd8380bccec967cc2ff1f..4c83d09ab3e21c62bbdc2cb8b3f9f1328b17462b 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-270,7
+270,6
@@
static size_t srvstr_get_path_internal(TALLOC_CTX *ctx,
bool posix_pathnames,
NTSTATUS *err)
{
- bool ignore;
size_t ret;
*pp_dest = NULL;
@@
-295,7
+294,7
@@
static size_t srvstr_get_path_internal(TALLOC_CTX *ctx,
if (posix_pathnames) {
*err = check_path_syntax_posix(*pp_dest);
} else {
- *err = check_path_syntax
_wcard(*pp_dest, &ignore
);
+ *err = check_path_syntax
(*pp_dest
);
}
return ret;