NULL pointer dereference in context_acquire(), wined3d/conte

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Josh Juran

NULL pointer dereference in context_acquire(), wined3d/conte

Post by Josh Juran »

In context_acquire(), line 2439 (as of commit 90e3bc5, fetched just now), I'm seeing the line

struct wined3d_swapchain *swapchain = device->swapchains[0];

crash because device->swapchains is NULL.

This happens in the games Club Paradise and Spa Mania when switching between fullscreen and windowed mode. The platform is Ubuntu Desktop 32-bit 11.04 with the Recommended version of the proprietary NVIDIA driver.

Any suggestions as to how I might patch Wine to fix this?

Josh
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: NULL pointer dereference in context_acquire(), wined3d/c

Post by vitamin »

Josh Juran wrote:Any suggestions as to how I might patch Wine to fix this?
File a bug in bugzilla.
Locked