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.
Please register or sign in to comment