Fix an uninitialized variable
authorVolker Lendecke <vl@sernet.de>
Sun, 2 Dec 2007 13:55:01 +0000 (14:55 +0100)
committerVolker Lendecke <vl@sernet.de>
Wed, 5 Dec 2007 12:45:12 +0000 (13:45 +0100)
source/smbd/nttrans.c

index 669ffa1f13754673ebb25a61dd655601f6458e11..15306ee590091a63e815779eca6509dd5aa544bb 100644 (file)
@@ -1303,7 +1303,7 @@ static void call_nt_transact_create(connection_struct *conn,
        uint32 create_disposition;
        uint32 create_options;
        uint32 sd_len;
-       struct security_descriptor *sd;
+       struct security_descriptor *sd = NULL;
        uint32 ea_len;
        uint16 root_dir_fid;
        struct timespec c_timespec;