mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- 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:
@@ -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--);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user