mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 14:16:30 +00:00
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:
parent
00d190a404
commit
72e6fde566
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue