[gs-bugs] [Bug 690631] New: fz_mul255 is off-by-one for negative input

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Jul 14 09:21:58 PDT 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690631

           Summary: fz_mul255 is off-by-one for negative input
           Product: MuPDF
           Version: unspecified
          Platform: All
               URL: http://code.google.com/p/sumatrapdf/issues/detail?id=568
        OS/Version: All
            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


E.g. fz_mul255(100, 100) yields 39 while fz_mul255(-100, 100) yields -40 instead 
of the expected -39. This causes visible artifacts such as mentioned at the URL.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list