From 810d3ce22461150ec8096416a83deacd5bebfa11 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Wed, 13 Sep 2000 21:49:56 +0000 Subject: [PATCH] specifically check for NULL return from acl_get() --- servers/slapd/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index b22ec970cf..8079bdd15e 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -154,7 +154,7 @@ access_allowed( a = NULL; count = 0; - while( a = acl_get( a, &count, be, op, e, desc, MAXREMATCHES, matches ) ) + while((a = acl_get( a, &count, be, op, e, desc, MAXREMATCHES, matches )) != NULL) { int i; -- 2.39.5