From: Kurt Zeilenga Date: Wed, 17 Jan 2001 06:32:26 +0000 (+0000) Subject: ITS#919: fix str2ad initialization bug X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1587 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06d63200e45686355acfb49aceff6b56857bbb40;p=openldap ITS#919: fix str2ad initialization bug --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 3604d8072c..1443e792ec 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -164,6 +164,7 @@ ldap_send_entry( if (attr == NULL) continue; attr->a_next = 0; + attr->a_desc = NULL; slap_str2ad(a, &attr->a_desc, &text); attr->a_vals = ldap_get_values_len(lc->ld, e, a); if (!attr->a_vals)