[Bug 18725] Frater: Crash when moving character forward.
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Feb 27 03:44:17 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=18725
Stefan Dösinger <stefan at codeweavers.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stefan at codeweavers.com
--- Comment #10 from Stefan Dösinger <stefan at codeweavers.com> 2012-02-27 03:44:17 CST ---
I ran into this bug while debugging bug 30019. The reason for the crash is that
the game passes a DDSURFACEDESC2 with a bad .dwSize to
IDirectDrawSurface7::Lock. Our ddraw correctly rejects this lock, then the game
dereferences the pointer in .lpSurface. This pointer is not properly set
because the lock failed and the game crashes.
I tried to set lpSurface to NULL because other Lock error conditions do that,
but this just makes it crash due to a NULL pointer dereference rather than a
dereference of a random pointer. I guess the key to fixing this bug is figuring
out why the game sometimes sets a bad dwSize.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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