Author: vlendec
Date: 2006-05-19 07:01:53 +0000 (Fri, 19 May 2006)
New Revision: 15705

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

Log:
Fix bug number 3788. Thanks to Jeff Wright.

Volker

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
   trunk/source/nsswitch/winbind_nss_aix.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c        2006-05-18 
22:34:16 UTC (rev 15704)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c        2006-05-19 
07:01:53 UTC (rev 15705)
@@ -360,6 +360,9 @@
 
        logit("getgrset '%s'\n", r_user);
 
+        ZERO_STRUCT(response);
+        ZERO_STRUCT(request);
+
        STRCPY_RETNULL(request.data.username, r_user);
 
        if (*user == WB_AIX_ENCODED) {

Modified: trunk/source/nsswitch/winbind_nss_aix.c
===================================================================
--- trunk/source/nsswitch/winbind_nss_aix.c     2006-05-18 22:34:16 UTC (rev 
15704)
+++ trunk/source/nsswitch/winbind_nss_aix.c     2006-05-19 07:01:53 UTC (rev 
15705)
@@ -360,6 +360,9 @@
 
        logit("getgrset '%s'\n", r_user);
 
+        ZERO_STRUCT(response);
+        ZERO_STRUCT(request);
+
        STRCPY_RETNULL(request.data.username, r_user);
 
        if (*user == WB_AIX_ENCODED) {

Reply via email to