D3D8_GetCreationParameters fix

Andrei Barbu teval at myrealbox.com
Fri Jul 9 17:14:49 CDT 2004


I don't personally know enough about IsBadWritePtr to write a test case.
Any suggestions? :P
I'll check out the code later on, but for now it seems to be fine.

What else could it use to validate that pointer?

Andrei

On Fri, 2004-07-09 at 15:02, Mike McCormack wrote:
> Andrei Barbu wrote:
> 
> > I think even if a wine bug might be generating that bad pointer, which I
> > don't think it is since Chessmaster works fine after that, this is how
> > DX works, so we should implement it. If it doesn't crash on windows, why
> > should it in wine?
> 
> It is rare that Windows uses IsBadWritePtr to validate arguments, so if 
> you believe it works that way, prove it by writing a test case and 
> running it on a Windows box.  Somebody is going to be suprised by the 
> results ;)
> 
> Mike
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040709/0f62e9de/attachment.pgp


More information about the wine-devel mailing list