[Bug 3416] sshd freeze when build without HAVE_PPOLL

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 1 18:30:33 AEDT 2022


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
                 CC|                            |djm at mindrot.org
   Attachment #3586|                            |ok+
              Flags|                            |

--- Comment #4 from Damien Miller <djm at mindrot.org> ---
Comment on attachment 3586
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3586
Check that returned events were actually requestd

Looks good to me. Although unrelated, I think the POLLIN case should
check (revents & (POLLIN|POLLHUP)) as this can be returned too (not
sure whether without POLLIN too).

Also maybe both POLLIN and POLLOUT cases should check POLLERR in
revents. I saw this in bug #3405

You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list