Bug 691602

Summary: Error: /typecheck in --length--
Product: Ghostscript Reporter: Marcos H. Woehrmann <marcos.woehrmann>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: NOTIFIED FIXED    
Severity: normal    
Priority: P2    
Version: master   
Hardware: PC   
OS: All   
Customer: 700 Word Size: ---
Attachments: patch

Description Marcos H. Woehrmann 2010-09-09 04:37:27 UTC
The attached PDF cannot be read by Ghostscript.  Head (r11700) produces a /typecheck in --run--, earlier versions produce Error: /typecheck in --length--.

Adobe Acrobat 9.3.4 and Apple Preview 5.0.2 read the file without problem.

The command line I'm using for testing:

  bin/gs -sDEVICE=ppmraw -o test.ppm ./SOE-003.pdf
Comment 2 Alex Cherepanov 2010-09-09 13:55:26 UTC
Created attachment 6708 [details]
patch

Fix a case where /Widths attribute was not checked for null.

The sample file has an invalid xref reference <</Widths 0 0 R>> but
<</Widths null>> would have the same problem.
Comment 3 Alex Cherepanov 2010-09-09 13:56:38 UTC
The patch has been committed as a rev. 11709.
Comment 4 Marcos H. Woehrmann 2011-09-18 21:47:35 UTC
Changing customer bugs that have been resolved more than a year ago to closed.