|
Bugzilla – Full Text Bug Listing |
| Summary: | get_starttime: incorrect conversions from timeval to timespec | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Scott Cheloha <scottcheloha> |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.8.23 | ||
| Hardware: | All | ||
| OS: | OpenBSD | ||
| Attachments: | Patch for sudoers/starttime.c | ||
Thanks, committed as https://www.sudo.ws/repos/sudo/rev/26fa756ea623 Fixed in sudo 1.8.24, available now. |
Created attachment 510 [details] Patch for sudoers/starttime.c These conversions in get_starttime() look off. Shouldn't you multiply by 1000 to convert usec to nsec?