Add missing print_member_list_csv() return value check.
This commit is contained in:
@@ -239,8 +239,11 @@ print_member_csv(FILE *fp, const struct sudoers_parse_tree *parse_tree,
|
|||||||
case ALIAS:
|
case ALIAS:
|
||||||
if (expand_aliases) {
|
if (expand_aliases) {
|
||||||
if ((a = alias_get(parse_tree, name, alias_type)) != NULL) {
|
if ((a = alias_get(parse_tree, name, alias_type)) != NULL) {
|
||||||
print_member_list_csv(fp, parse_tree, &a->members, negated,
|
if (!print_member_list_csv(fp, parse_tree, &a->members, negated,
|
||||||
alias_type, expand_aliases);
|
alias_type, expand_aliases)) {
|
||||||
|
alias_put(a);
|
||||||
|
debug_return_bool(false);
|
||||||
|
}
|
||||||
alias_put(a);
|
alias_put(a);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user