[user32/tests #2] Prevent writing to not allocated memory

Paul Vriens paul.vriens.wine at gmail.com
Wed May 28 07:00:06 CDT 2008


Hi,

(Not dependent on the one for win.c).

If CreateDIBSection fails we won't have a pointer to the the bitmap bit values 
and this crashes the cursoricon test on win9x.

This patch again only prevents the crash and doesn't fix the failures on win9x.

Changelog
   Prevent writing to not allocated memory

-- 
Cheers,

Paul.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Prevent-writing-to-not-allocated-memory.patch
Type: text/x-patch
Size: 2263 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080528/5606069b/attachment.bin 


More information about the wine-patches mailing list