[Bug 5509] regression: Treasuremole crashes in wined3d

Wine Bugs wine-bugs at winehq.org
Thu Jun 29 15:43:19 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5509





------- Additional Comments From stefandoesinger at gmx.at  2006-29-06 15:43 -------
Created an attachment (id=2791)
 --> (http://bugs.winehq.org/attachment.cgi?id=2791&action=view)
Proposed fix

The issue was that the app passed bad values to BltFast, and in the old ddraw
code those values were filtered out in IDirectDrawSurface::Lock. This patch
adds those checks to IWineD3DSurface::LockRect, and it returns an error if the
rectangle is bad. This error is catched by BltFast which returns an error
itself. This fixed the demo for me(and some other games too :-) ). I sent the
patch already to wine-patches


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list