mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 01:12:59 +08:00
[WIN32K] Don't trust the BITMAPINFOHEADER size
This is not entirely correct yet, but less wrong than before CORE-16621
This commit is contained in:
@@ -1288,7 +1288,7 @@ NtGdiStretchDIBitsInternal(
|
||||
BitmapFormat(pbmi->bmiHeader.biBitCount,
|
||||
pbmi->bmiHeader.biCompression),
|
||||
pbmi->bmiHeader.biHeight < 0 ? BMF_TOPDOWN : 0,
|
||||
pbmi->bmiHeader.biSizeImage,
|
||||
cjMaxBits,
|
||||
pvBits,
|
||||
0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user