[Bug 36876] New: Incorrect check for bad points in draw_poly()

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 10 07:31:22 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36876

            Bug ID: 36876
           Summary: Incorrect check for bad points in draw_poly()
           Product: Wine
           Version: 1.7.21
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdiplus
          Assignee: wine-bugs at winehq.org
          Reporter: maksqwe1 at ukr.net

graphics.c 1751

if((i + 2 >= count)
   || !(types[i + 1] & PathPointTypeBezier)
   || !(types[i + 1] & PathPointTypeBezier)) {

I think should be:
if((i + 2 >= count)
   || !(types[i + 1] & PathPointTypeBezier)
   || !(types[i + 2] & PathPointTypeBezier)) {

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