Bug 517

Summary: missing include grp.h in setgroups.c
Product: Sudo Reporter: Pavol Rusnak <stick>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: low    
Version: 1.8.2   
Hardware: PC   
OS: Linux   
Attachments: proposed patch

Description Pavol Rusnak 2011-10-12 21:10:45 MDT
Code in setgroups.c uses function setgroups() which is defined in grp.h, but this is not included. Please apply the attached patch.
Comment 1 Pavol Rusnak 2011-10-12 21:11:48 MDT
Created attachment 318 [details]
proposed patch
Comment 2 Todd C. Miller 2011-10-13 07:52:14 MDT
This was fixed a while back in the source repo; the fix is in the 1.8.3 release candidates.
Comment 3 Todd C. Miller 2011-10-22 19:38:31 MDT
Sudo 1.8.3 is out now and has this fixed.