[try2] gdi32: bitblt.c. Fix copying from uninitialized memory

Alexander Demakin avd at etersoft.ru
Fri Feb 22 06:10:42 CST 2008


This patch adds check of return value of GetDIBits in BitBlt.c. If a error 
occurs, GetDIBits returns 0 and bits variable points to  uninitialized data.  
It always occurs when calling BitBlt for printer context due to 
implementation of PSDRV_SelectBitmap().
Changelog:
        gdi32.dll Fix copying from uninitialized memory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdi32-bitblt-chklines.patch
Type: text/x-diff
Size: 1281 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080222/cc33fabe/attachment.patch 


More information about the wine-patches mailing list