Summary: | app-admin/sudo-1.7.4 hogs CPU while waiting for child process | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hugo Mildenberger <Hugo.Mildenberger> |
Component: | [OLD] Unspecified | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | polynomial-c |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gratisoft.us/bugzilla/show_bug.cgi?id=425 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hugo Mildenberger
2010-08-08 14:22:39 UTC
Sorry, there are two logical errors. Line 277 should read: 277 } while (pid == -1 && errno == EINTR); Would you mind reporting this upstream? (In reply to comment #2) > Would you mind reporting this upstream? I checked upstream in the meantime. Apparently, they rewrote much of exec.c, and the do - loop condition appears to be correct now. But if you think that reporting it still makes sense, I'll do. app-admin/sudo-1.7.2_p7 and app-admin/sudo-1.7.3 appear also to be affected by this, one way or another. Look into sudo_edit.c instead of exec.c or do a "grep EINTR *.c". There is also a security issue pending (BUG #322517) for app-<=admin/sudo-1.7.2_p7. 1.7.4_p2 was released today so I'll bump and remove 1.7.4. The security issue is just waiting GLSA; I wouldn't count this as an enormous problem to ask stable of the new version right away, but I'll track this faster. |