mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +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:
parent
ea1f78da72
commit
fbfe11f633
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ IntSynthesizeDib(
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get information about the bitmap format */
|
/* Get information about the bitmap format */
|
||||||
|
pbmi->bmiHeader.biSize = sizeof(bmiBuffer.bmih);
|
||||||
iResult = GreGetDIBitsInternal(hdc,
|
iResult = GreGetDIBitsInternal(hdc,
|
||||||
hbm,
|
hbm,
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue