gdi32: Protect against short sized LOGPALETTE in CreatePalette.

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


On Tue, Feb 26, 2008 at 11:12 AM, Dan Kegel <dank at kegel.com> 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

http://blogs.msdn.com/oldnewthing/archive/2006/09/27/773741.aspx

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