mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
DNs may include NULs
This commit is contained in:
parent
6ebe49f1b6
commit
3cc674589d
@ -572,7 +572,8 @@ dnMatch(
|
|||||||
match = value->bv_len - asserted->bv_len;
|
match = value->bv_len - asserted->bv_len;
|
||||||
|
|
||||||
if ( match == 0 ) {
|
if ( match == 0 ) {
|
||||||
match = strcmp( value->bv_val, asserted->bv_val );
|
match = memcmp( value->bv_val, asserted->bv_val,
|
||||||
|
value->bv_len );
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
|
Loading…
Reference in New Issue
Block a user