projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ccb64
)
BUGFIX: EngMaskBitBlt() shouldn't BSOD if Mask is NULL
author
Royce Mitchell III
<royce3@ev1.net>
Sat, 18 Dec 2004 17:36:13 +0000
(17:36 +0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Sat, 18 Dec 2004 17:36:13 +0000
(17:36 +0000)
svn path=/trunk/; revision=12186
reactos/subsys/win32k/eng/bitblt.c
patch
|
blob
|
history
diff --git
a/reactos/subsys/win32k/eng/bitblt.c
b/reactos/subsys/win32k/eng/bitblt.c
index
33b76c1
..
7f2c7f9
100644
(file)
--- 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.6
4 2004/12/14 03:36:46
royce Exp $
+/* $Id: bitblt.c,v 1.6
5 2004/12/18 17:36:13
royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@@
-901,6
+901,9
@@
EngMaskBitBlt(SURFOBJ *DestObj,
ULONG Direction;
POINTL AdjustedBrushOrigin;
+ if ( NULL == Mask )
+ return FALSE;
+
if (NULL != SourcePoint)
{
InputRect.left = SourcePoint->x;