Fix potential NULL deref in IWineD3DSurfaceImpl_LockRect

Stefan Dösinger stefandoesinger at gmx.at
Mon Jul 10 11:43:13 CDT 2006


Am Montag 10 Juli 2006 17:41 schrieb Chris:
> On Thursday 06 July 2006 22:19, you wrote:
> > 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.
>
> What about this? Is it wrong?
I can't find this patch anywhere via google and I don't have it in my mails 
here, so I can't comment on the patch directly, but from your description I'd 
say that the NULL deref was introduced by a patch of mine(the one which 
enabled single buffering). Can you mail me the patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060710/9d78ff2c/attachment-0001.pgp


More information about the wine-devel mailing list