]> git.sur5r.net Git - openldap/commitdiff
ITS#189 fix 2. value_normalize may change length of value. Recompute.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 2 Jun 1999 20:35:15 +0000 (20:35 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 2 Jun 1999 20:35:15 +0000 (20:35 +0000)
servers/slapd/back-ldbm/index.c

index 5f26a586abcf7fdca35f4df0954f5ff2df6f85cb..a57c8584a4621075a5f47b106f7ab694dc52bea4 100644 (file)
@@ -279,6 +279,9 @@ index_add_values(
 
                value_normalize( val, syntax );
 
+               /* val length could change */
+               len = strlen( val );
+
                /*
                 * equality index entry
                 */