mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[WIN32K:NTUSER]
- Initialize BITMAPINFOHEADER::biSize before calling GreGetDIBitsInternal in IntSynthesizeDib. Fixes use of uninitialized memory and subsequent stack buffer overflow. CORE-13408 svn path=/trunk/; revision=74991
This commit is contained in:
@@ -154,6 +154,7 @@ IntSynthesizeDib(
|
||||
}
|
||||
|
||||
/* Get information about the bitmap format */
|
||||
pbmi->bmiHeader.biSize = sizeof(bmiBuffer.bmih);
|
||||
iResult = GreGetDIBitsInternal(hdc,
|
||||
hbm,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user