[Bug 3291] New: support process_extended_limits() only if HAVE_GETRLIMIT is set

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 7 04:38:34 AEST 2021


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

            Bug ID: 3291
           Summary: support process_extended_limits() only if
                    HAVE_GETRLIMIT is set
           Product: Portable OpenSSH
           Version: 8.5p1
          Hardware: Other
                OS: Windows 10
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sftp-server
          Assignee: unassigned-bugs at mindrot.org
          Reporter: balu.gajjala at gmail.com

Not all OS distros support rlimit/slimit so sftp-server should support
process_extended_limits() only when HAVE_GETRLIMIT is defined/set.

https://github.com/openssh/openssh-portable/blob/0727dd09eca355e7539cbcb23b148fcee9b21513/sftp-server.c#L1450

https://github.com/openssh/openssh-portable/blob/0727dd09eca355e7539cbcb23b148fcee9b21513/sftp-server.c#L160

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list