gdi32: Protect against short sized LOGPALETTE in CreatePalette.

Steven Edwards winehacker at
Tue Feb 26 12:02:00 CST 2008

On Tue, Feb 26, 2008 at 11:12 AM, Dan Kegel <dank at> wrote:
>  your patch uses IsBadReadPtr(), but that function
>  is deprecated in favor of using an exception handler.

For an explanation as to why IsBad*Ptr is really bad read the following

Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo

More information about the wine-devel mailing list