From be92b4851bdd4c871c90bf3f5377cc399cea9bfd Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 13 May 2012 19:39:20 +0000 Subject: [PATCH] [WIN32K] Check for psoMask == NULL in BltMask. Fixes part 2 of bug #7070 svn path=/trunk/; revision=56580 --- reactos/win32ss/gdi/eng/bitblt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/win32ss/gdi/eng/bitblt.c b/reactos/win32ss/gdi/eng/bitblt.c index dfb61337925..a956cbf4530 100644 --- a/reactos/win32ss/gdi/eng/bitblt.c +++ b/reactos/win32ss/gdi/eng/bitblt.c @@ -50,6 +50,8 @@ BltMask(SURFOBJ* psoDest, ASSERT(IS_VALID_ROP4(Rop4)); + if (!psoMask) return FALSE; + fgndRop = ROP4_FGND(Rop4); bkgndRop = ROP4_BKGND(Rop4);