[Bug 52492] New: stack overflow from GdipFlattenPath

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 30 15:38:20 CST 2022


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

            Bug ID: 52492
           Summary: stack overflow from GdipFlattenPath
           Product: Wine
           Version: 7.1
          Hardware: x86-64
                OS: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdiplus
          Assignee: wine-bugs at winehq.org
          Reporter: rjfeuerbach at gmail.com

Created attachment 71787
  --> https://bugs.winehq.org/attachment.cgi?id=71787
test patch to replicate the curves and stack overflow

I have a third party application, unfortunately not available for download,
that is generating a virtual stack overflow error.  Using +replay and
eventually +gdiplus messages, the cause was narrowed down to be due to calls to
GdipFlattenPath.

Attached is a patch to gdiplus/test/graphicspath.c to include the precise
curves that cause the stack overflow.

I believe the problem is due to the comparison of REALs with == in the
flatten_bezier helper function.

-- 
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