https://bugzilla.mindrot.org/show_bug.cgi?id=3345

--- Comment #3 from Darren Tucker <[email protected]> ---
(In reply to Yaroslav from comment #2)
> I added the following code and it solved the problem
> 
> 200     nfds = MAX(nfds, notify_pipe[0]);
> 201     ++nfds;

As I described above I don't think that's correct.  In the case where
nfds was not increased in the MAX(), nfds is being incremented twice
which may cause other problems.

The code I suggested does not do that.  Does it also fix the problem?

-- 
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to