Feb. 20, 2008
9:13 a.m.
"Alexander Demakin" <avd(a)etersoft.ru> wrote:
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.
You are mixing tabs and spaces in the patch, otherwise tha patch looks good to me. -- Dmitry.