ITS#919: fix str2ad initialization bug

This commit is contained in:
Kurt Zeilenga 2001-01-17 06:32:26 +00:00
parent a5377f6c5e
commit 06d63200e4

View 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)