]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - nss_ldap/patches/nss_ldap-265-fix-uninit.patch
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / nss_ldap / patches / nss_ldap-265-fix-uninit.patch
1 --- nss_ldap-265/ldap-nss.c.orig 2010-10-18 22:11:18.112108167 +1100
2 +++ nss_ldap-265/ldap-nss.c 2010-10-18 22:13:20.030169868 +1100
3 @@ -3449,6 +3449,7 @@
4
5 debug ("==> _nss_ldap_getbyname");
6
7 + memset(&ctx, 0, sizeof(ent_context_t));
8 ctx.ec_msgid = -1;
9 ctx.ec_cookie = NULL;
10 ctx.ec_eof = 0;