Summary: | Non-null, but empty dict, ASCII85Decode filter params causes typecheck in length | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ray Johnston <ray.johnston> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 0.00 | ||
Hardware: | All | ||
OS: | All | ||
Customer: | 700 | Word Size: | --- |
Attachments: | pdf_base.ps.patch |
Created attachment 7294 [details]
pdf_base.ps.patch
My fix for this file for Alex to review. Looks obvious in that the param dict
is second on the stack, not third from debugging and according to the proc
comment:
% <source> <dict> <name> add_A85_param <source> <dict'> <name>
We probably never had a file that had a non-null param dict for ASCII85Decode
filter prior to this (the A85 filter doesn't have any params that can be
specified according to the PDF 1.7 spec, but an empty dict should be legal).
Yes, thank you for fixing my bug. Please commit. Thanks for the sanity check, Alex. Fix committed as rev 12210. Customer has been notified -- changing status to closed. |
Created attachment 7293 [details] 1_CVR_COVER_SHEET.pdf Customer reports this errors in all releases since 8.70 which I verified still fails in 9.01. Apparently this was introduced by rev 10498, 2009-12-12. Assigned to Alex for review of my patch.