Summary: | Interpretation of PDF file fails with typecheck after the 41. page | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | artifex |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.64 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Customer: | 870 | Word Size: | --- |
Description
artifex
2009-07-03 07:12:24 UTC
Created attachment 5181 [details]
Harzt-ghost.pdf
The file has the following invalid reference: 395 0 obj <</Type/ExtGState /SMask 0 0 R>> endobj Probably, Ghostscript should check for "0 0 R" and consider the attribute undefined. This check won't slow PDF interpreter too much if "knownoget" procedure is ported to C. Add a check for a null value of SMask attribute in ExtGState. This also works for invalid SMask reference, which is already converted to null. The following patch has been committed as a rev. 9839. http://ghostscript.com/pipermail/gs-cvs/2009-July/009518.html Regression testing shows no differences. Changing customer bugs that have been resolved more than a year ago to closed. |