reresend: wined3d NULL dereference patch

Chris chris.kcat at gmail.com
Mon Jul 31 07:44:05 CDT 2006


IDirect3DDevice8Impl_GetStreamSource calls IWineD3DDevice_GetStreamSource with 
an explicit pOffset pointer value of 0. IWineD3DDevice_GetStreamSource 
attempts to dereference and set pOffset without checking if it's NULL, which 
then leads to a crash (this happens, for example, when playing Morrowind with 
pixel shaders on, and going outside). This patch fixes that crash (though 
there's still other issues with the game and pixel shaders).

(resend at Alexandre's request)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine_d3d_device.diff
Type: text/x-diff
Size: 800 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060731/75f2811e/wine_d3d_device-0001.bin


More information about the wine-patches mailing list