mirror of
https://github.com/reactos/reactos.git
synced 2024-09-29 05:54:05 +00:00
[WIN32SS][NTGDI] Alignment probe change in NtGdiSetBitmapBits (#1309)
Don't check WORD alignment in NtGdiSetBitmapBits to match Win2k3 behaviour. CORE-15657
This commit is contained in:
parent
29795a2d72
commit
6b8f9c0c2b
|
@ -642,7 +642,8 @@ NtGdiSetBitmapBits(
|
|||
|
||||
_SEH2_TRY
|
||||
{
|
||||
ProbeForRead(pUnsafeBits, Bytes, sizeof(WORD));
|
||||
/* NOTE: Win2k3 doesn't check WORD alignment here. */
|
||||
ProbeForRead(pUnsafeBits, Bytes, 1);
|
||||
ret = UnsafeSetBitmapBits(psurf, Bytes, pUnsafeBits);
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
|
|
Loading…
Reference in a new issue