|
Bugzilla – Full Text Bug Listing |
| Summary: | Segmentation fault on the system which have no ppoll() | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | sasaki |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jwestfall |
| Priority: | low | ||
| Version: | 1.8.25 | ||
| Hardware: | PC | ||
| OS: | FreeBSD | ||
| Attachments: | Patch for lib/util/event_poll.c | ||
Thanks, that patch looks correct. I fixed a similar problem with the select backend but forgot to handle it in poll. I've released sudo 1.8.25p1 with this fix. *** Bug 852 has been marked as a duplicate of this bug. *** If for some reason you cannot update to 1.8.25p1, a workaround is to use the --disable-poll configure option. Works again. The 1.8.25 using --disable-poll option also works fine. Thanks! |
Created attachment 515 [details] Patch for lib/util/event_poll.c Running 'sudo -s' on the system which does not have ppoll() fails with segmentation fault. % sudo -s zsh: segmentation fault sudo -s I guess sudo_ev_poll() has to set the timeout value to -1 on such system when timo is NULL.