Bug 517 - missing include grp.h in setgroups.c
missing include grp.h in setgroups.c
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.8.2
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-12 21:10 MDT by Pavol Rusnak
Modified: 2011-10-22 19:38 MDT (History)
0 users

See Also:


Attachments
proposed patch (309 bytes, patch)
2011-10-12 21:11 MDT, Pavol Rusnak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.