mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8231 fix ITS#8042 regression
This commit is contained in:
parent
9d2dc5dd24
commit
2eaf8eb213
@ -2769,6 +2769,9 @@ presentlist_find(
|
|||||||
Avlnode **a2 = (Avlnode **)av;
|
Avlnode **a2 = (Avlnode **)av;
|
||||||
unsigned short s;
|
unsigned short s;
|
||||||
|
|
||||||
|
if (!av)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
memcpy(&s, val->bv_val, 2);
|
memcpy(&s, val->bv_val, 2);
|
||||||
return avl_find( a2[s], val->bv_val+2, syncuuid_cmp );
|
return avl_find( a2[s], val->bv_val+2, syncuuid_cmp );
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user