/[smeserver]/rpms/sudo/sme9/sudo-1.8.6p3-seqfault-null-group-list.patch
ViewVC logotype

Contents of /rpms/sudo/sme9/sudo-1.8.6p3-seqfault-null-group-list.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Feb 4 19:44:30 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: sudo-1_8_6p3-30_el6_sme, sudo-1_8_6p3-29_el6_9, HEAD
Sudo

1 diff -up ./plugins/sudoers/match.c.seqfault-null-group-list ./plugins/sudoers/match.c
2 --- ./plugins/sudoers/match.c.seqfault-null-group-list 2015-10-06 14:55:38.034532644 +0200
3 +++ ./plugins/sudoers/match.c 2015-10-06 15:00:03.821950086 +0200
4 @@ -159,6 +159,9 @@ runaslist_matches(struct member_list *us
5 int group_matched = UNSPEC;
6 debug_decl(runaslist_matches, SUDO_DEBUG_MATCH)
7
8 + if (user_list == NULL)user_list = ∅
9 + if (group_list == NULL)group_list = ∅
10 +
11 if (runas_pw != NULL) {
12 /* If no runas user or runas group listed in sudoers, use default. */
13 if (tq_empty(user_list) && tq_empty(group_list))

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed