[gs-bugs] [Bug 690588] New: Infinite recursion in pdf_cryptobj

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Wed Jul 1 18:28:38 PDT 2009


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

           Summary: Infinite recursion in pdf_cryptobj
           Product: MuPDF
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P4
         Component: mupdf
        AssignedTo: tor.andersson at artifex.com
        ReportedBy: kkowalczyk at gmail.com
         QAContact: gs-bugs at ghostscript.com


This comes from: http://code.google.com/p/sumatrapdf/issues/detail?id=551

It's a recent regression. Pdf that shows the problem:
http://www.uni-muenster.de/Jura.itm/hoeren/materialien/Skript/Skript_Maerz2008.pdf
(not attaching because it's 3.2 MB).

What happens:

#8661 0x00037f9a in pdf_cryptobj (crypt=0x600780, obj=0x600aa0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:671
#8662 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x6055d0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:680
#8663 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x600ad0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:680
#8664 0x00037f9a in pdf_cryptobj (crypt=0x600780, obj=0x600aa0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:671
#8665 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x6055d0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:680
#8666 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x600ad0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:680
#8667 0x00037f9a in pdf_cryptobj (crypt=0x600780, obj=0x600aa0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:671
#8668 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x6055d0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:680
#8669 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x6054b0, oid=2361, gen=0)
at mupdf/pdf_crypt.c:680
#8670 0x00061e67 in pdf_cacheobject (xref=0x600360, oid=2361, gen=0) at
mupdf/pdf_xref.c:207
#8671 0x00061f3f in pdf_loadobject (objp=0x600ae4, xref=0x600360, oid=2361,
gen=0) at mupdf/pdf_xref.c:228
#8672 0x00028233 in fz_resolveindirect (ref=0x600ad0) at fitz/obj_simple.c:236
#8673 0x00027ebc in fz_isstring (obj=0x600ad0) at fitz/obj_simple.c:140
#8674 0x00037ddf in pdf_cryptobj (crypt=0x600780, obj=0x600ad0, oid=2355, gen=0)
at mupdf/pdf_crypt.c:644
#8675 0x00037f9a in pdf_cryptobj (crypt=0x600780, obj=0x600aa0, oid=2355, gen=0)
at mupdf/pdf_crypt.c:671
#8676 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x6009e0, oid=2355, gen=0)
at mupdf/pdf_crypt.c:680
#8677 0x00061e67 in pdf_cacheobject (xref=0x600360, oid=2355, gen=0) at
mupdf/pdf_xref.c:207
#8678 0x00061f3f in pdf_loadobject (objp=0x6008d4, xref=0x600360, oid=2355,
gen=0) at mupdf/pdf_xref.c:228
#8679 0x00028233 in fz_resolveindirect (ref=0x6008c0) at fitz/obj_simple.c:236
#8680 0x00027ebc in fz_isstring (obj=0x6008c0) at fitz/obj_simple.c:140
#8681 0x00037ddf in pdf_cryptobj (crypt=0x600780, obj=0x6008c0, oid=2360, gen=0)
at mupdf/pdf_crypt.c:644
#8682 0x00038000 in pdf_cryptobj (crypt=0x600780, obj=0x600810, oid=2360, gen=0)
at mupdf/pdf_crypt.c:680
#8683 0x00061e67 in pdf_cacheobject (xref=0x600360, oid=2360, gen=0) at
mupdf/pdf_xref.c:207
#8684 0x00061f3f in pdf_loadobject (objp=0x6004c4, xref=0x600360, oid=2360,
gen=0) at mupdf/pdf_xref.c:228
#8685 0x00028233 in fz_resolveindirect (ref=0x6004b0) at fitz/obj_simple.c:236
#8686 0x00050909 in pdf_loadpagetree (pp=0x4f7c10, xref=0x600360) at
mupdf/pdf_pagetree.c:175
#8687 0x000623a6 in opensrc (filename=0xbffff7bc
"/Users/kkowalczyk/Downloads/bug-551.pdf", password=0x4d6712 "") at
apps/pdfbench.c:153
#8688 0x00062991 in benchfile (pdffilename=0xbffff7bc
"/Users/kkowalczyk/Downloads/bug-551.pdf") at apps/pdfbench.c:248



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