[gs-bugs] [Bug 690307] Error: /stackoverflow in --run--

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Sat Mar 7 14:52:16 PST 2009


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





------- Additional Comments From alex.cherepanov at artifex.com  2009-03-07 14:52 -------
Created an attachment (id=4833)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=4833&action=view)
patch

Following Adobe implementation, copy only a few top elements of the stack
to the corresponding element of the $error dictionary when the stack
overflows. Adobe copies up to 500 top elements, we copy up to 65535. This
feature enables Ghostscript to have maximum stack sizes larger than 65535.
The maximum operand stack size is set to 100000 to match Adobe interpreters.
The large stack size is needed for some PDF files that construct large
dictionaries using << ... >> operators.




------- 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