Summary: | Error: limitcheck; OffendingCommand: addglyph | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | Text | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 0.00 | ||
Hardware: | All | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: |
Sample_HP5000PS.ps
patch |
Description
Marcos H. Woehrmann
2009-02-12 07:50:12 UTC
Created attachment 4791 [details]
Sample_HP5000PS.ps
Created attachment 4792 [details]
patch
The buffer for the compressed /CharString in Type 32 font was allocated for
the worst case of CCITTFaxEncode filter, which is 5x expansion.
The worst case in the sample file exceeded the max string size. The patch
limits
the string size to 65535, the maximum string length. The worst case is highly
unlikely to occur in the wild.
The patch is committed as a rev. 9472. Regression testing shows no differences. |