[Bug 3049] ssh startup time on OSX is linear to _SC_OPEN_MAX

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Aug 31 08:26:50 AEST 2019


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

likan_999.student at sina.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #10 from likan_999.student at sina.com ---
(In reply to Damien Miller from comment #9)
> patch applied and will be in OpenSSH 8.1 - thanks!

Hi Damien, thanks for the patch. Sorry I didn't reply earlier, in the
patch, there are a few problems I can observe here:
`if (r < 0 || r >= sz)`: it should be `if (r < 0 || r > sz)` because
`r==sz` is still valid.

`sz / (int)PROC_PIDLISTFD_SIZE` should be changed to `r /
(int)PROC_PIDLISTFD_SIZE` because entries between r and sz are invalid.

These are not anything urgent but it's nice to fix them.

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