Signed-off-by: Nicolas Iooss <nicolas.iooss@xxxxxxx> --- checkpolicy/policy_define.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpolicy/policy_define.c b/checkpolicy/policy_define.c index dbafadb01e21..949ca7117233 100644 --- a/checkpolicy/policy_define.c +++ b/checkpolicy/policy_define.c @@ -1924,11 +1924,11 @@ int avrule_ioctl_ranges(struct av_ioctl_range_list **rangelist) /* read in ranges to include and omit */ if (avrule_read_ioctls(&rangehead)) return -1; - omit = rangehead->omit; if (rangehead == NULL) { yyerror("error processing ioctl commands"); return -1; } + omit = rangehead->omit; /* sort and merge the input ioctls */ if (avrule_sort_ioctls(&rangehead)) return -1; -- 2.12.0 _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.