[gs-bugs] [Bug 692299] New: fz_round_rect doesn't correctly handle values > INT_MAX

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jun 23 19:41:17 UTC 2011


           Summary: fz_round_rect doesn't correctly handle values >
           Product: MuPDF
           Version: unspecified
          Platform: PC
               URL: http://code.google.com/p/sumatrapdf/issues/detail?id=1
        OS/Version: Windows 7
            Status: NEW
          Severity: normal
          Priority: P4
         Component: fitz
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: zeniko at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0

The document at http://ge.tt/9aYQnN5?c is missing the diagram when displayed at
a zoom level above 88%. This is caused by

-2147483648 -2147483648 m
-2147483648 2147483647 l
2147483647 2147483647 l
2147483647 -2147483648 l
W* n

resulting in coordinate values above INT_MAX once stretched which are wrongly
converted by ceilf into INT_MIN in fz_round_rect, causing everything to be
clipped away.

Our fix: http://code.google.com/p/sumatrapdf/source/detail?r=3958

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list