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@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Jeff Smith 2019-11-25 10:46:16 -06:00 committed by Alexandre Julliard
parent 2fec865945
commit 22a4b3fc7e
1 changed files with 1 additions and 1 deletions

View File

@ -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;