mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Import ITS#2970 fix from HEAD
This commit is contained in:
parent
e7e35d227f
commit
2b20c1eda7
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@ build_new_dn( struct berval * new_dn,
|
|||
{
|
||||
char *ptr;
|
||||
|
||||
if ( parent_dn == NULL ) {
|
||||
if ( parent_dn == NULL || parent_dn->bv_len == 0 ) {
|
||||
ber_dupbv( new_dn, newrdn );
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue