From 06d63200e45686355acfb49aceff6b56857bbb40 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 17 Jan 2001 06:32:26 +0000 Subject: [PATCH] ITS#919: fix str2ad initialization bug --- servers/slapd/back-ldap/search.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5