From: Howard Chu Date: Mon, 10 Dec 2001 13:39:36 +0000 (+0000) Subject: Extra NULL check, just in case X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~672 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aeba8c29bbe2674886282d301240cf90885f300e;p=openldap Extra NULL check, just in case --- diff --git a/servers/slapd/backglue.c b/servers/slapd/backglue.c index d093521bd9..584113aded 100644 --- a/servers/slapd/backglue.c +++ b/servers/slapd/backglue.c @@ -675,6 +675,9 @@ glue_tool_entry_next ( int i; ID rc; + if (!glueBack) + return NOID; + rc = glueBack->be_entry_next (glueBack); /* If we ran out of entries in one database, move on to the next */