Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2a1ece78211696ff7ef2e4d3c77d68fc > files > 11

nss_ldap-265-8.fc15.src.rpm

--- nss_ldap-265/ldap-nss.c.orig	2010-10-18 22:11:18.112108167 +1100
+++ nss_ldap-265/ldap-nss.c	2010-10-18 22:13:20.030169868 +1100
@@ -3449,6 +3449,7 @@
 
   debug ("==> _nss_ldap_getbyname");
 
+  memset(&ctx, 0, sizeof(ent_context_t));
   ctx.ec_msgid = -1;
   ctx.ec_cookie = NULL;
   ctx.ec_eof = 0;