commit | 63b78d003bd8ca111a736e6cea6333da50f5f09b | [log] [download] |
---|---|---|
author | dtucker@openbsd.org <dtucker@openbsd.org> | Mon Jun 22 12:29:57 2015 +0000 |
committer | Damien Miller <djm@mindrot.org> | Tue Jun 23 10:34:46 2015 +1000 |
tree | 8df403cbe170b1547a1e194c0bc1b28c50cd72be | |
parent | 5c15e22c691c79a47747bcf5490126656f97cecd [diff] |
upstream commit Don't call setgroups if we have zero groups; there's no guarantee that it won't try to deref the pointer. Based on a patch from mail at quitesimple.org, ok djm deraadt Upstream-ID: 2fff85e11d7a9a387ef7fddf41fbfaf566708ab1