mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
fixed test on "" (empty) parent dn
This commit is contained in:
parent
f4acf94c83
commit
da9ea54700
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ ldbm_back_modrdn(
|
|||
goto return_results;
|
||||
}
|
||||
|
||||
if ( (p_ndn = dn_parent( be, e->e_ndn )) != NULL ) {
|
||||
if ( (p_ndn = dn_parent( be, e->e_ndn )) != NULL && p_ndn[0] != '\0' ) {
|
||||
/* Make sure parent entry exist and we can write its
|
||||
* children.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue