From 802325542ba979998c707b57c311129bfddf4ae8 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 18 Jan 1999 20:34:17 +0000 Subject: [PATCH] Don't clobber dn. --- servers/slapd/back-ldbm/dn2id.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-ldbm/dn2id.c b/servers/slapd/back-ldbm/dn2id.c index 7cc4aec1e2..c3264715ca 100644 --- a/servers/slapd/back-ldbm/dn2id.c +++ b/servers/slapd/back-ldbm/dn2id.c @@ -133,6 +133,7 @@ dn2id_delete( return( -1 ); } + dn = ch_strdup( dn ); dn_normalize_case( dn ); key.dptr = dn; key.dsize = strlen( dn ) + 1; -- 2.39.5