Bug 688627

Summary: Validate declared type, subtype, and length parameters of PDF fonts.
Product: Ghostscript Reporter: Alex Cherepanov <alex>
Component: PDF InterpreterAssignee: Alex Cherepanov <alex>
Status: RESOLVED WONTFIX    
Severity: normal CC: christinedelight.top85
Priority: P3    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---

Description Alex Cherepanov 2006-04-01 07:06:49 UTC
The fix for the bug 688465 enables Ghostscript to interpret many kinds of
malformed font streams but reduces it's utility as a verification tool.

This bug records the requiriment to add the validation of
the declared type, subtype, and length parameters vs. actual values
in PDF font streams.
Comment 1 Alex Cherepanov 2011-06-28 01:39:45 UTC
No gs user has ever complained that gs accepts some malformed PDF files.
Extra validation code will bring no benefits for most of gs users, but it
will slow the PDF interpreter down for everybody.