Merge "Ensure avrule is initialized."

This commit is contained in:
Treehugger Robot 2019-05-16 18:50:34 +00:00 committed by Gerrit Code Review
commit 22cade09bf

View file

@ -378,7 +378,7 @@ static int check_neverallows(policydb_t *policydb, char *text, char *end)
{
const char *keyword = "neverallow";
size_t keyword_size = strlen(keyword), len;
struct avrule *neverallows = NULL, *avrule;
struct avrule *neverallows = NULL, *avrule = NULL;
char *p, *start;
int result;