[Bug 948] high CPU in sshd after tcp_wrappers deny
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Feb 19 19:33:18 EST 2005
http://bugzilla.mindrot.org/show_bug.cgi?id=948
------- Additional Comments From dtucker at zip.com.au 2005-02-19 19:33 -------
(In reply to comment #24)
> What about the (num == -1) case? Does it cope with EINTR and EAGAIN?
Yeah, that's already handled a bit further down, just out reach of the context.
The entire block of code (compacted to save space) is:
if (num == 0)
goto err; /* descriptor closed */
else if (num > 0)
numbytes += num;
else {
switch (errno) {
#ifdef EINTR
case EINTR:
#endif
#ifdef EAGAIN
case EAGAIN:
#endif
/* No error, try again */
break;
default:
ret = -1;
goto err; /* failure */
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list