[gs-bugs] [Bug 690618] New: xps crash with null-path

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Fri Jul 10 08:13:47 PDT 2009


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

           Summary: xps crash with null-path
           Product: GhostXPS
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P4
         Component: General
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: norbert.janssen at oce.com
         QAContact: gs-bugs at ghostscript.com


When sending attached xps testfile, the xps (defining a path, but no path data:
empty path) then during the xps_update_bounds() the seg =
(segment*)ctx->pgs->path->first_subpath;  === 0

thus rc.p.x = rc.q.x = fixed2float(seg->pt.x); sigsegv!!

solution

if ((seg = (segment*)ctx->pgs->path->first_subpath)) == 0) return;



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