Commit b5954e60 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Add missing early return to _drop_privileges() if _initgroups() call fails.

Note that this does not protect against all possible problems here.
The setgroups() call in Linux at least is willing to set any gid_t
value except -1 on a group, so calls will not always fail on corrupted
group lists.

Bug 3320.
parent b3bdf30d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment