mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user