]> git.sur5r.net Git - openldap/commitdiff
Don't clobber dn.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 18 Jan 1999 20:34:17 +0000 (20:34 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 18 Jan 1999 20:34:17 +0000 (20:34 +0000)
servers/slapd/back-ldbm/dn2id.c

index 7cc4aec1e20facc0fd999993ffdcfa33430ab42a..c3264715cab9b260baa0320a440129b579d49f79 100644 (file)
@@ -133,6 +133,7 @@ dn2id_delete(
                return( -1 );
        }
 
+       dn = ch_strdup( dn );
        dn_normalize_case( dn );
        key.dptr = dn;
        key.dsize = strlen( dn ) + 1;