summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-11 23:43:33 -0800
committerJeremy Allison <jra@samba.org>2008-01-11 23:43:33 -0800
commit866af9a800cbfc022ce6144ee706c0826eb6c39b (patch)
tree8cf61c7e6d86410720d1f519a247f75507b64f1c /source3
parentbd317be33b7b2acb74a14b18c67581f3d1d5e8f0 (diff)
downloadsamba-866af9a800cbfc022ce6144ee706c0826eb6c39b.tar.gz
samba-866af9a800cbfc022ce6144ee706c0826eb6c39b.tar.bz2
samba-866af9a800cbfc022ce6144ee706c0826eb6c39b.zip
Coverity 512, uninitialized var.
Jeremy. (This used to be commit 1b7cc80c61ccbf766801080f5a3f0260f40ccc17)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/authdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/authdata.c b/source3/libads/authdata.c
index 500f2d455e..9a6f1061df 100644
--- a/source3/libads/authdata.c
+++ b/source3/libads/authdata.c
@@ -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)