[Bug 3581] ssh-keyscan fails with `fdlim_get: bad value` with large file descriptor limit due to type confusion

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 21 18:11:42 AEST 2023


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

jan-erik <janerik at fnordig.de> changed:

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

--- Comment #3 from jan-erik <janerik at fnordig.de> ---
That patch does not fix the issue though, because it still returns
`SSH_SYSFDMAX`, which is the huge value that wraps over to -1.

And `rlfd.rlim_max == RLIM_INFINITY` was already true, because they are
the same value regardless of what type it wraps to.

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