[Bug 47321] New: Regression: Painkiller crashes at startup ( wined3d_device_create_primary_opengl_context_cs() doesn' t check NULL return value from context_acquire())

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 4 00:49:39 CDT 2019


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

            Bug ID: 47321
           Summary: Regression: Painkiller crashes at startup
                    (wined3d_device_create_primary_opengl_context_cs()
                    doesn't check NULL return value from
                    context_acquire())
           Product: Wine
           Version: 4.9
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: o.dierick at piezo-forte.be
      Distribution: ---

Created attachment 64635
  --> https://bugs.winehq.org/attachment.cgi?id=64635
painkiller multiplayer demo wine-4.9 terminal output

Painkiller Multiplayer and Singleplayer demos crash at startup in
wined3d_device_create_primary_opengl_context_cs().

This is a regression between wine-4.8 and wine-4.9.

The application triggers context_acquire() to return NULL.
The return value is not checked in
wined3d_device_create_primary_opengl_context_cs() and so it tries to access
NULL pointer and crashes.

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