From: Howard Chu Date: Mon, 7 Apr 2003 11:38:45 +0000 (+0000) Subject: (SLAP_NVALUES) attr->a_nvals must not be NULL, set equal to a_vals when X-Git-Tag: AUTOCONF_2_57~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c607ed0a6f01d863c946b5a7a5841d9333958074;p=openldap (SLAP_NVALUES) attr->a_nvals must not be NULL, set equal to a_vals when not normalizing. --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index cc4fbe2277..d50f82ed80 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -552,7 +552,7 @@ next_attr:; attr->a_nvals = attr->a_vals; } } else { - attr->a_nvals = NULL; + attr->a_nvals = attr->a_vals; } *attrp = attr; attrp = &attr->a_next;