]> git.sur5r.net Git - openldap/commitdiff
Extra NULL check, just in case
authorHoward Chu <hyc@openldap.org>
Mon, 10 Dec 2001 13:39:36 +0000 (13:39 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 10 Dec 2001 13:39:36 +0000 (13:39 +0000)
servers/slapd/backglue.c

index d093521bd9358d83a678135521a6ca8dc7f7db93..584113aded65b821d65f9273667b67596070ac97 100644 (file)
@@ -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 */