[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: incorrect dn index when spaces between parts in dn (ITS#189)



As Patrick pointed out to me, index_add_values() still needs to
recompute the length of val value_normalize() may change it.

I've added Patrick's suggested fix for the time being.
(value_normalize should be modified to take struct berval *
instead of a char* len).

Please review and test:

http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldbm/index.c.diff?r1=1.5.2.5.2.6&r2=1.5.2.5.2.8

( a similiar change has been applied to -devel as well ).