[Bug 40304] New: EveHQ2 crashes with builtin gdiplus

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 14 12:36:57 CDT 2016


https://bugs.winehq.org/show_bug.cgi?id=40304

            Bug ID: 40304
           Summary: EveHQ2 crashes with builtin gdiplus
           Product: Wine
           Version: 1.9.5
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdiplus
          Assignee: wine-bugs at winehq.org
          Reporter: xerox_xerox2000 at yahoo.co.uk
      Distribution: ---

EveHQ2.exe from 
http://evehq.co/downloads/download.php?file=EveHQ2.25.2.exe crashes with
builtin gdiplus.

I tried to find the bug using +gdiplus log and I came to this:

Just before the crash it says

trace:gdiplus:GdipTransformPath (0x1cc870, (nil))

The code for GdipTransformPath basically boils down to :

    return GdipTransformMatrixPoints(matrix, path->pathdata.Points,
                                     path->pathdata.Count);

In code for GdipTransformMatrixPoints there is check

    if(!matrix || !pts || count <= 0)
        return InvalidParameter;

So in the end GdipTransformPath will always return InvalidParameter when
matrix=0.

>From a quick test it seems to me that GdipTransformPath should return Ok when
matrix=0. I`ll attach possible fix and test hereafter

Bear in mind I have absolutely no knowledge about gdiplus, so any comment
whether my fix ,analysis and test is correct/sufficient, is very welcome

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list