svn commit: samba r21399 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_25/source/nsswitch

herb at samba.org herb at samba.org
Fri Feb 16 20:27:31 GMT 2007


Author: herb
Date: 2007-02-16 20:27:30 +0000 (Fri, 16 Feb 2007)
New Revision: 21399

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21399

Log:
need to zero the request and response structures

Modified:
   branches/SAMBA_3_0/source/nsswitch/wbinfo.c
   branches/SAMBA_3_0_25/source/nsswitch/wbinfo.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/wbinfo.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/wbinfo.c	2007-02-16 20:07:33 UTC (rev 21398)
+++ branches/SAMBA_3_0/source/nsswitch/wbinfo.c	2007-02-16 20:27:30 UTC (rev 21399)
@@ -653,6 +653,9 @@
 	struct winbindd_request request;
 	struct winbindd_response response;
 
+	ZERO_STRUCT(request);
+	ZERO_STRUCT(response);
+
 	if ((domain == NULL) || (strequal(domain, ".")) || (domain[0] == '\0'))
 		fstrcpy(request.domain_name, get_winbind_domain());
 	else

Modified: branches/SAMBA_3_0_25/source/nsswitch/wbinfo.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/wbinfo.c	2007-02-16 20:07:33 UTC (rev 21398)
+++ branches/SAMBA_3_0_25/source/nsswitch/wbinfo.c	2007-02-16 20:27:30 UTC (rev 21399)
@@ -653,6 +653,9 @@
 	struct winbindd_request request;
 	struct winbindd_response response;
 
+	ZERO_STRUCT(request);
+	ZERO_STRUCT(response);
+
 	if ((domain == NULL) || (strequal(domain, ".")) || (domain[0] == '\0'))
 		fstrcpy(request.domain_name, get_winbind_domain());
 	else



More information about the samba-cvs mailing list