mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
Fix empty suffix separator test.
This commit is contained in:
parent
b56b9859c7
commit
7d89fb5446
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@ select_backend(
|
|||
}
|
||||
|
||||
|
||||
if ( (len < dnlen) && !(DN_SEPARATOR( dn[(dnlen-len)-1] )) ) {
|
||||
if ( len && len < dnlen && !DN_SEPARATOR( dn[(dnlen-len)-1] ) ) {
|
||||
/* make sure we have a separator */
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue