Author: tfaber
Date: Fri Feb 13 09:06:00 2015
New Revision: 66242
URL:
http://svn.reactos.org/svn/reactos?rev=66242&view=rev
Log:
[GDI32_APITEST]
- Fix stack buffer overflow in InitPerBitDepth
ROSTESTS-147 #resolve
Modified:
trunk/rostests/apitests/gdi32/init.c
Modified: trunk/rostests/apitests/gdi32/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/gdi32/init.c?rev…
==============================================================================
--- trunk/rostests/apitests/gdi32/init.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/gdi32/init.c [iso-8859-1] Fri Feb 13 09:06:00 2015
@@ -41,7 +41,7 @@
{
struct
{
- BITMAPCOREHEADER bmiHeader;
+ BITMAPINFOHEADER bmiHeader;
RGBQUAD bmiColors[256];
} bmiBuffer;
LPBITMAPINFO pbmi = (LPBITMAPINFO)&bmiBuffer;