From: Howard Chu Date: Sat, 29 Aug 2015 17:29:32 +0000 (+0100) Subject: ITS#8231 fix ITS#8042 regression X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2eaf8eb213499a00fea2e9f449fad5d7a4493728;p=openldap ITS#8231 fix ITS#8042 regression --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index e01297b9bc..109426abb1 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -2769,6 +2769,9 @@ presentlist_find( Avlnode **a2 = (Avlnode **)av; unsigned short s; + if (!av) + return NULL; + memcpy(&s, val->bv_val, 2); return avl_find( a2[s], val->bv_val+2, syncuuid_cmp ); #else