Blame SOURCES/sudo-1.8.6p7-segfault-null-group-list.patch

a67eaf
diff -up sudo-1.8.6p7/plugins/sudoers/match.c.segfault-null-group-list sudo-1.8.6p7/plugins/sudoers/match.c
a67eaf
--- sudo-1.8.6p7/plugins/sudoers/match.c.segfault-null-group-list	2016-05-11 10:22:29.201786896 +0200
a67eaf
+++ sudo-1.8.6p7/plugins/sudoers/match.c	2016-05-11 10:22:29.212786739 +0200
a67eaf
@@ -164,6 +164,9 @@ runaslist_matches(struct member_list *us
a67eaf
     int group_matched = UNSPEC;
a67eaf
     debug_decl(runaslist_matches, SUDO_DEBUG_MATCH)
a67eaf
 
a67eaf
+    if (user_list == NULL)user_list = ∅
a67eaf
+    if (group_list == NULL)group_list = ∅
a67eaf
+
a67eaf
     if (runas_pw != NULL) {
a67eaf
 	/* If no runas user or runas group listed in sudoers, use default. */
a67eaf
 	if (tq_empty(user_list) && tq_empty(group_list))