git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9565c8f
)
smbd: initialize end to NULL in unix_convert()
author
Ralph Boehme
<slow@samba.org>
Wed, 25 Mar 2020 06:46:22 +0000
(07:46 +0100)
committer
Jeremy Allison
<jra@samba.org>
Fri, 27 Mar 2020 01:06:30 +0000
(
01:06
+0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c
patch
|
blob
|
history
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index 44ed4e44103e4293a4fa2217d7835de721994281..b0ae6f64e8e54a464ad540aa5f1af01393445c79 100644
(file)
--- a/
source3/smbd/filename.c
+++ b/
source3/smbd/filename.c
@@
-438,7
+438,7
@@
NTSTATUS unix_convert(TALLOC_CTX *ctx,
{
struct smb_filename *smb_fname = NULL;
char *start = NULL;
- char *end;
+ char *end
= NULL
;
char *dirpath = NULL;
char *stream = NULL;
bool component_was_mangled = False;