mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
specifically check for NULL return from acl_get()
This commit is contained in:
parent
e366aefffc
commit
810d3ce224
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue