Fix potential NULL deref in IWineD3DSurfaceImpl_LockRect

Chris chris.kcat at gmail.com
Fri Jul 7 00:19:55 CDT 2006


This patch fixes an issue in the aforementioned function, that would cause a 
NULL deref if swapchain and targetSwapChain are NULL and iface == 
myDevice->renderTarget. This fixes a crash for me when trying to exit from 
the boat in the game Morrowind.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine_surface.diff
Type: text/x-diff
Size: 867 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060706/70534369/wine_surface.diff


More information about the wine-patches mailing list