smbd: Fix 240393 Uninitialized pointer read
authorVolker Lendecke <vl@samba.org>
Thu, 7 Jan 2016 20:33:18 +0000 (21:33 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 8 Jan 2016 04:44:15 +0000 (05:44 +0100)
commit657610a0e423aa0cd17f9137845a335b02217884
tree22b0113384b72ebd4c5b776abca6e16ab9dcee15
parentfc4c2dcd526851fa938f6d8edb15b58fbb644a45
smbd: Fix 240393 Uninitialized pointer read

If we run into the "This is a stream on the root of the share" case,
in old line 409 (new line 417) we "goto done;". If then in old line 1027
(new line 1035) "build_stream_path" fails, "start" is uninitialized.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan  8 05:44:15 CET 2016 on sn-devel-144
source3/smbd/filename.c