BugFix : NtGdiBitblt follow member BitmapDest and BitmapSrc one of them can be NULL in NtGdiBitBlt logic so do not try access members in null pointer

svn path=/trunk/; revision=33872
This commit is contained in:
Magnus Olsen 2008-06-06 23:09:42 +00:00
parent 00d190a404
commit 72e6fde566

View file

@ -301,7 +301,7 @@ NtGdiBitBlt(
}
/* Perform the bitblt operation */
Status = IntEngBitBlt(&BitmapDest->SurfObj, &BitmapSrc->SurfObj, NULL,
Status = IntEngBitBlt( BitmapDest ? &BitmapDest->SurfObj : NULL, BitmapSrc ? &BitmapSrc->SurfObj : NULL, NULL,
DCDest->CombinedClip, XlateObj, &DestRect,
&SourcePoint, NULL,
BrushObj ? &BrushInst.BrushObject : NULL,