wined3d NULL dereference patch

Chris chris.kcat at gmail.com
Mon Jul 10 10:43:57 CDT 2006


On Thursday 06 July 2006 10:16, you wrote:
> 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).

Anything on this? Is there something wrong with it? As it is, it will always 
crash on any program that calls IDirect3DDevice8Impl_GetStreamSource.



More information about the wine-patches mailing list