D3D8_GetCreationParameters fix

Alexandre Julliard julliard at winehq.org
Fri Jul 9 15:05:56 CDT 2004


Andrei Barbu <teval at myrealbox.com> writes:

> 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?

The proper way is to use an exception handler, but you should only do
that once you have demonstrated that:
  1. Windows has an exception handler in that function too
  2. The app passes a bad pointer on Windows too, so it's not just a
    consequence of another Wine bug.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list