From 4b9258d165d0a7c745814d24bf404b477cee829e Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 30 Jun 2010 14:17:13 +0200 Subject: [PATCH] gdiplus/tests: Comment out a test that corrupts the stack on Vista. --- dlls/gdiplus/tests/pen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/gdiplus/tests/pen.c b/dlls/gdiplus/tests/pen.c index 0bdf280ae65..b742118be37 100644 --- a/dlls/gdiplus/tests/pen.c +++ b/dlls/gdiplus/tests/pen.c @@ -225,9 +225,15 @@ static void test_dasharray(void) /* Try to set with count = 0. */ GdipSetPenDashStyle(pen, DashStyleDot); + if (0) /* corrupts stack on 64-bit Vista */ + { status = GdipSetPenDashArray(pen, dashes, 0); ok(status == OutOfMemory || status == InvalidParameter, "Expected OutOfMemory or InvalidParameter, got %.8x\n", status); + } + status = GdipSetPenDashArray(pen, dashes, -1); + ok(status == OutOfMemory || status == InvalidParameter, + "Expected OutOfMemory or InvalidParameter, got %.8x\n", status); GdipGetPenDashStyle(pen, &style); expect(DashStyleDot, style); -- 2.11.4.GIT