Jeff Smith : gdi32/tests: Reserve sufficient room for DIB data.
Alexandre Julliard
julliard at winehq.org
Tue Nov 26 16:21:23 CST 2019
Module: wine
Branch: master
Commit: 22a4b3fc7e6f48c99934a49643a87031250592ed
URL: https://source.winehq.org/git/wine.git/?a=commit;h=22a4b3fc7e6f48c99934a49643a87031250592ed
Author: Jeff Smith <whydoubt at gmail.com>
Date: Mon Nov 25 10:46:16 2019 -0600
gdi32/tests: Reserve sufficient room for DIB data.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48054
Signed-off-by: Jeff Smith <whydoubt at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdi32/tests/bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index 8fe160546c..8f0f6601b3 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -913,7 +913,7 @@ static void test_dibsections(void)
static void test_dib_formats(void)
{
BITMAPINFO *bi;
- char data[256];
+ char data[2048]; /* 2 x 2 pixels, max 64 bits-per-pixel, max 64 planes */
void *bits;
int planes, bpp, compr, format;
HBITMAP hdib, hbmp;
More information about the wine-cvs
mailing list