]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Initialize a pointer
authorVolker Lendecke <vl@samba.org>
Mon, 21 Feb 2022 16:09:36 +0000 (17:09 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 22 Feb 2022 09:21:29 +0000 (09:21 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dir.c

index 3cf6cb285a456856c697220d05a30bd4ffbb88dd..3d8dfde29703a6a01b69e5bb0936bfffd77999ed 100644 (file)
@@ -216,7 +216,7 @@ NTSTATUS dptr_create(connection_struct *conn,
 {
        struct smbd_server_connection *sconn = conn->sconn;
        struct dptr_struct *dptr = NULL;
-       struct smb_Dir *dir_hnd;
+       struct smb_Dir *dir_hnd = NULL;
 
        DBG_INFO("dir=%s\n", fsp_str_dbg(fsp));