- Fix a memory overwrite that was uncovered by recent win32k memory allocation changes (r40268 + r40269)

- Fixes a crash in current QiP Infium that was hidden before, bug #4361

svn path=/trunk/; revision=40460
This commit is contained in:
Gregor Schneider 2009-04-11 16:48:47 +00:00
parent 3d1ed5b157
commit 7a53cbcbdc

View file

@ -257,7 +257,7 @@ DIB_32BPP_BitBltSrcCopy(PBLTINFO BltInfo)
{
Dest32 = (DWORD *) DestBits + (BltInfo->DestRect.right - BltInfo->DestRect.left - 1);
Source32 = (DWORD *) SourceBits + (BltInfo->DestRect.right - BltInfo->DestRect.left - 1);
for (i = BltInfo->DestRect.right; BltInfo->DestRect.left <= i; i--)
for (i = BltInfo->DestRect.right - 1; BltInfo->DestRect.left <= i; i--)
{
*Dest32-- = XLATEOBJ_iXlate(BltInfo->XlateSourceToDest, *Source32--);
}