[gs-bugs] [Bug 692294] New: Android mupdf.c has two bad function calls

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Jun 21 15:04:55 UTC 2011


           Summary: Android mupdf.c has two bad function calls
           Product: MuPDF
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P4
         Component: apps
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: andrew.wyld at gmail.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0

mupdf.c will not build as written.  It contains two function calls with the
wrong number of variables: fz_new_pixmap_with_data has six but expects four,
and fz_execute_display_list has three but expects four.


fz_new_pixmap_with_data's third and fourth parameters seem to be a width and a
height, and the bad call seems to be passing x and y position and then width
and height.

fz_execute_display_list expects a bounding box as its fourth parameter, and an
object called bbox is present by the bad call.  It may be enough to insert this
as the fourth parameter.

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