diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-11 23:43:33 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-11 23:43:33 -0800 |
commit | 866af9a800cbfc022ce6144ee706c0826eb6c39b (patch) | |
tree | 8cf61c7e6d86410720d1f519a247f75507b64f1c | |
parent | bd317be33b7b2acb74a14b18c67581f3d1d5e8f0 (diff) | |
download | samba-866af9a800cbfc022ce6144ee706c0826eb6c39b.tar.gz samba-866af9a800cbfc022ce6144ee706c0826eb6c39b.tar.bz2 samba-866af9a800cbfc022ce6144ee706c0826eb6c39b.zip |
Coverity 512, uninitialized var.
Jeremy.
(This used to be commit 1b7cc80c61ccbf766801080f5a3f0260f40ccc17)
-rw-r--r-- | source3/libads/authdata.c | 4 |
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) |