[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1300-g1b7cc80

Jeremy Allison jra at samba.org
Sat Jan 12 07:56:00 GMT 2008


The branch, v3-2-test has been updated
       via  1b7cc80c61ccbf766801080f5a3f0260f40ccc17 (commit)
      from  041f1d298c1e72adb263b32f454cdf3603e45416 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 1b7cc80c61ccbf766801080f5a3f0260f40ccc17
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Jan 11 23:43:33 2008 -0800

    Coverity 512, uninitialized var.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/libads/authdata.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libads/authdata.c b/source/libads/authdata.c
index 500f2d4..9a6f106 100644
--- a/source/libads/authdata.c
+++ b/source/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)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list