]> git.sur5r.net Git - openldap/commitdiff
ITS#919: fix str2ad initialization bug
authorKurt Zeilenga <kurt@openldap.org>
Wed, 17 Jan 2001 06:32:26 +0000 (06:32 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 17 Jan 2001 06:32:26 +0000 (06:32 +0000)
servers/slapd/back-ldap/search.c

index 3604d8072cf3c553e0473f6adbf6b7dc5865163c..1443e792ec936a73e36cd08abc61babfc0625879 100644 (file)
@@ -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)