]> git.ipfire.org Git - ipfire-3.x.git/blame - nss_ldap/patches/nss_ldap-265-fix-uninit.patch
Move all packages to root.
[ipfire-3.x.git] / nss_ldap / patches / nss_ldap-265-fix-uninit.patch
CommitLineData
6679571b
MT
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;