[gs-bugs] [Bug 690286] Error: limitcheck; OffendingCommand: addglyph

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Feb 12 09:28:40 PST 2009


http://bugs.ghostscript.com/show_bug.cgi?id=690286





------- Additional Comments From alex.cherepanov at artifex.com  2009-02-12 09:28 -------
Created an attachment (id=4792)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=4792&action=view)
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.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list