From: Ralph Boehme Date: Wed, 25 Mar 2020 06:46:22 +0000 (+0100) Subject: smbd: initialize end to NULL in unix_convert() X-Git-Tag: ldb-2.2.0~1201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4897903bedc9c9bdbc7e89ce67a3422a5ae50aa;p=thirdparty%2Fsamba.git smbd: initialize end to NULL in unix_convert() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 44ed4e44103..b0ae6f64e8e 100644 --- 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;