1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

smbd: initialize end to NULL in unix_convert()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-03-25 07:46:22 +01:00 committed by Jeremy Allison
parent 9565c8f99a
commit c4897903be

View File

@ -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;