svn commit: samba r2351 - in branches/SAMBA_3_0/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Wed Sep 15 15:12:36 GMT 2004


Author: vlendec
Date: 2004-09-15 15:12:36 +0000 (Wed, 15 Sep 2004)
New Revision: 2351

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/nsswitch&rev=2351&nolog=1

Log:
Fix use of an uninitialized variable. valgrind is sooo useful.

Volker

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2004-09-15 14:56:42 UTC (rev 2350)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2004-09-15 15:12:36 UTC (rev 2351)
@@ -609,7 +609,6 @@
 {
 	struct cache_entry *centry;
 	fstring uname;
-	fstring sid_string;
 
 	centry = centry_start(domain, status);
 	if (!centry)
@@ -619,7 +618,8 @@
 	fstrcpy(uname, name);
 	strupper_m(uname);
 	centry_end(centry, "NS/%s/%s", domain_name, uname);
-	DEBUG(10,("wcache_save_name_to_sid: %s -> %s\n", uname, sid_string));
+	DEBUG(10,("wcache_save_name_to_sid: %s -> %s\n", uname,
+		  sid_string_static(sid)));
 	centry_free(centry);
 }
 



More information about the samba-cvs mailing list