Coverity 512, uninitialized var.
authorJeremy Allison <jra@samba.org>
Sat, 12 Jan 2008 07:43:33 +0000 (23:43 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2008 07:43:33 +0000 (23:43 -0800)
Jeremy.

source/libads/authdata.c

index 500f2d455e12825f12dbf3256de4c5c41235e21f..9a6f1061df04ea9c6d4dca7f35ef7af2f452cb67 100644 (file)
@@ -214,7 +214,7 @@ static bool pac_io_group_membership_array(const char *desc,
 static bool pac_io_pac_logon_info(const char *desc, PAC_LOGON_INFO *info, 
                                  prs_struct *ps, int depth)
 {
-       uint32 garbage, i;
+       uint32 garbage = 0, i;
 
        if (NULL == info)
                return False;
@@ -398,7 +398,7 @@ static bool pac_io_pac_logon_info(const char *desc, PAC_LOGON_INFO *info,
 static bool pac_io_pac_logon_info(const char *desc, PAC_LOGON_INFO *info, 
                                  prs_struct *ps, int depth)
 {
-       uint32 garbage;
+       uint32 garbage = 0;
        bool kerb_validation_info = True;
 
        if (NULL == info)