Commit 810d3ce2 authored by Ben Collins's avatar Ben Collins
Browse files

specifically check for NULL return from acl_get()

parent e366aeff
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment