mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:23:05 +00:00
[GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth ROSTESTS-147 #resolve svn path=/trunk/; revision=66242
This commit is contained in:
parent
cc64141e3f
commit
c4f27cbca8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ InitPerBitDepth(
|
||||||
{
|
{
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
BITMAPCOREHEADER bmiHeader;
|
BITMAPINFOHEADER bmiHeader;
|
||||||
RGBQUAD bmiColors[256];
|
RGBQUAD bmiColors[256];
|
||||||
} bmiBuffer;
|
} bmiBuffer;
|
||||||
LPBITMAPINFO pbmi = (LPBITMAPINFO)&bmiBuffer;
|
LPBITMAPINFO pbmi = (LPBITMAPINFO)&bmiBuffer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue