Protect some DIB functions from bad inputs.

Alexandre Julliard julliard at
Wed Apr 12 05:18:59 CDT 2006

Rein Klazes <wijn at> writes:

> I have no idea why it was not merged, never got any comments. Cc' ed to
> the developers list for suggestions. A re-diffed patch is attached.

IsBadReadPtr is broken and should never be used. You need to add an
exception handler around the actual access.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list