projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc64141
)
[GDI32_APITEST]
author
Thomas Faber
<thomas.faber@reactos.org>
Fri, 13 Feb 2015 09:06:00 +0000
(09:06 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Fri, 13 Feb 2015 09:06:00 +0000
(09:06 +0000)
- Fix stack buffer overflow in InitPerBitDepth
ROSTESTS-147 #resolve
svn path=/trunk/; revision=66242
rostests/apitests/gdi32/init.c
patch
|
blob
|
history
diff --git
a/rostests/apitests/gdi32/init.c
b/rostests/apitests/gdi32/init.c
index
7471925
..
cfdf06e
100644
(file)
--- a/
rostests/apitests/gdi32/init.c
+++ b/
rostests/apitests/gdi32/init.c
@@
-41,7
+41,7
@@
InitPerBitDepth(
{
struct
{
- BITMAP
CORE
HEADER bmiHeader;
+ BITMAP
INFO
HEADER bmiHeader;
RGBQUAD bmiColors[256];
} bmiBuffer;
LPBITMAPINFO pbmi = (LPBITMAPINFO)&bmiBuffer;