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

Alexander Demakin avd at etersoft.ru
Tue Feb 26 07:50:58 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/20080226/3af6aa6c/attachment.patch 


More information about the wine-patches mailing list