|
Bugzilla – Full Text Bug Listing |
| Summary: | SUDO_UID truncates UIDs >= 1 billion on Mac OS X | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Ben Gertzfield <bgertzfield> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.7.4 | ||
| Hardware: | PC | ||
| OS: | Other | ||
|
Description
Ben Gertzfield
2013-12-16 14:56:48 MST
The MAX_UID_T_LEN define does not include space for the NUL byte. The uid_t type on Mac OS X is defined in terms of uint32_t so its max value is 4294967295 in decimal. *** This bug has been marked as a duplicate of bug 562 *** The fix was also present in sudo 1.7.10. Thanks for the quick reply! (BTW, I searched Bugzilla for SUDO_UID but didn't find it, or I wouldn't have filed the dupe). |