Bug 691602 - Error: /typecheck in --length--
Summary: Error: /typecheck in --length--
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: master
Hardware: PC All
: P2 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 04:37 UTC by Marcos H. Woehrmann
Modified: 2011-09-18 21:47 UTC (History)
0 users

See Also:
Customer: 700
Word Size: ---


Attachments
patch (496 bytes, patch)
2010-09-09 13:55 UTC, Alex Cherepanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.