mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth ROSTESTS-147 #resolve svn path=/trunk/; revision=66242
This commit is contained in:
@@ -41,7 +41,7 @@ InitPerBitDepth(
|
||||
{
|
||||
struct
|
||||
{
|
||||
BITMAPCOREHEADER bmiHeader;
|
||||
BITMAPINFOHEADER bmiHeader;
|
||||
RGBQUAD bmiColors[256];
|
||||
} bmiBuffer;
|
||||
LPBITMAPINFO pbmi = (LPBITMAPINFO)&bmiBuffer;
|
||||
|
||||
Reference in New Issue
Block a user