lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1796 - nss-pam-ldapd/nss

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1796 - nss-pam-ldapd/nss



Author: arthur
Date: Sun Oct 14 17:20:21 2012
New Revision: 1796
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1796&view=revision

Log:
do not clear the netgroup struct because it contains information for others as 
well (fixes r1767)

Modified:
   nss-pam-ldapd/nss/netgroup.c

Modified: nss-pam-ldapd/nss/netgroup.c
==============================================================================
--- nss-pam-ldapd/nss/netgroup.c        Sun Oct 14 16:51:29 2012        (r1795)
+++ nss-pam-ldapd/nss/netgroup.c        Sun Oct 14 17:20:21 2012        (r1796)
@@ -48,7 +48,6 @@
   int32_t tmpint32;
   int type;
   size_t bufptr=0;
-  memset(result,0,sizeof(struct __netgrent));
   /* read netgroup type */
   READ_INT32(fp,type);
   if (type==NSLCD_NETGROUP_TYPE_NETGROUP)
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/