Don't forget to initialize *p_creds_requested.
authorJeremy Allison <jra@samba.org>
Wed, 7 Apr 2010 17:31:43 +0000 (10:31 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 7 Apr 2010 17:31:43 +0000 (10:31 -0700)
Jeremy.

source3/smbd/smb2_server.c

index 7fd3ef4034c065378c7bd7861a8a72d61e75cde8..f5e37659f88dc2066d6124fdffd49593086a92fe 100644 (file)
@@ -241,6 +241,7 @@ static NTSTATUS smbd_smb2_request_validate(struct smbd_smb2_request *req,
        int idx;
        bool compound_related = false;
 
+       *p_creds_requested = 0;
        count = req->in.vector_count;
 
        if (count < 4) {