[ros-bugs] [Bug 4220] New: Fix if param Brush == NULL

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Wed Mar 4 12:53:15 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4220

           Summary: Fix if param Brush == NULL
           Product: ReactOS
           Version: unspecified
          Platform: VMWare 5
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Win32
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: bstsoft at narod.ru
         QAContact: ros-bugs at reactos.org


Created an attachment (id=3643)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=3643)
Patch file

Fix crash if param Brush == NULL
Example
EngStretchBlt(
    IN SURFOBJ  *psoDest,
    IN SURFOBJ  *psoSource,
    IN SURFOBJ  *Mask,
    IN CLIPOBJ  *ClipRegion,
    IN XLATEOBJ  *ColorTranslation,
    IN COLORADJUSTMENT  *pca,
    IN POINTL  *BrushOrigin,
    IN RECTL  *prclDest,
    IN RECTL  *prclSrc,
    IN POINTL  *MaskOrigin,
    IN ULONG  Mode)
{
    return EngStretchBltROP(
        psoDest,
        psoSource,
        Mask,
        ClipRegion,
        ColorTranslation,
        pca,
        BrushOrigin,
        prclDest,
        prclSrc,
        MaskOrigin,
        Mode,
        NULL, <- IN BRUSHOBJ *Brush
        SRCCOPY);
}


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list