[Libreoffice-bugs] [Bug 133372] osl_connectSocketTo crashes with > 1024 file descriptors

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 25 13:41:30 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133372

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Stephan Bergmann <sbergman at redhat.com> ---
Indeed, SUSv4 states that the behavior of FD_SET "is undefined if the fd
argument is less than 0 or greater than or equal to FD_SETSIZE".  (It also
states that select shall return EINVAL if its "nfds argument is less than 0 or
greater than FD_SETSIZE", but by then we've already run into undefined
behavior.)

A patch switching to poll is welcome.  :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200525/334dd20d/attachment.htm>


More information about the Libreoffice-bugs mailing list