From: Royce Mitchell III Date: Tue, 14 Dec 2004 03:23:14 +0000 (+0000) Subject: came across small potential kmode crash while researching another bug fix X-Git-Tag: backups/ELF_support@12700~2^2~214 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=0dfc0d93bd6683c6097ff6e7db2698df09f15951 came across small potential kmode crash while researching another bug fix svn path=/trunk/; revision=12105 --- diff --git a/reactos/subsys/win32k/eng/bitblt.c b/reactos/subsys/win32k/eng/bitblt.c index 6d616ae35d7..ae50b2e7a6c 100644 --- a/reactos/subsys/win32k/eng/bitblt.c +++ b/reactos/subsys/win32k/eng/bitblt.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bitblt.c,v 1.61 2004/12/12 23:08:09 navaraf Exp $ +/* $Id: bitblt.c,v 1.62 2004/12/14 03:23:14 royce Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -514,7 +514,7 @@ IntEngBitBlt(BITMAPOBJ *DestObj, UsesSource = ((Rop4 & 0xCC0000) >> 2) != (Rop4 & 0x330000); if (UsesSource) { - if (NULL == SourcePoint || NULL == SourceObj) + if (NULL == SourcePoint || NULL == SourceSurf) { return FALSE; }