uxtheme/draw.c: Test pointer before dereference (coverity)

Joris Huizer joris_huizer at yahoo.com
Thu Jan 22 06:52:54 CST 2009


uxtheme/draw.c: Test pointer before dereference (coverity)
get_image_part_size() calls UXTHEME_LoadImage(), which in turn call 
UXTHEME_SelectImage(). This function doesn't test pRect, but get_image_part_size() later on does a test.

(Am not sure whether this case can actually occur in practice, not knowing the details of this interface.)




      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-uxtheme-draw.c-Test-pointer-before-dereference-cov.patch
Type: text/x-diff
Size: 1199 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090122/02ce8a69/attachment-0001.patch 


More information about the wine-patches mailing list