[Bug 948] high CPU in sshd after tcp_wrappers deny

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Feb 19 19:26:56 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=948





------- Additional Comments From djm at mindrot.org  2005-02-19 19:26 -------
(From update of attachment 832)
> 	        num = read(fd, egdbuf, 1);
>-	        if (num >= 0)
>+	        if (num == 0)
>+			goto err;	/* descriptor closed */
>+		else if (num > 0)

What about the (num == -1) case? Does it cope with EINTR and EAGAIN?




------- 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