mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +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 */
|
||||
pbmi->bmiHeader.biSize = sizeof(bmiBuffer.bmih);
|
||||
iResult = GreGetDIBitsInternal(hdc,
|
||||
hbm,
|
||||
0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue