[Bug 52259] New: osu! sometimes crashes in select()

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 22 20:46:25 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52259

            Bug ID: 52259
           Summary: osu! sometimes crashes in select()
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winsock
          Assignee: wine-bugs at winehq.org
          Reporter: openglfreak at googlemail.com
      Distribution: ---

In an osu! Discord server I'm in I've received multiple reports of osu!
crashing, with the stack trace given by the game ending in
System.Net.UnsafeNclNativeMethods.OSSOCK.select.
According to old .NET Core code the .NET Framework calls select() with manually
constructed `fd_set`s consisting of only two pointers. Since Wine always reads
the whole fd_set, if these allocations fall on the edge of the heap Wine tries
to read past the end of the heap and segfaults.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list