[gs-cvs] rev 6889 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Tue Jul 4 14:31:43 PDT 2006
Author: alexcher
Date: 2006-07-04 14:31:43 -0700 (Tue, 04 Jul 2006)
New Revision: 6889
Modified:
trunk/gs/lib/gs_init.ps
Log:
Increase the operand stack size limit to the current working maximum = 65414.
Bug 688764.
DETAILS:
PostScript stack cannot exceed the size of a PostScript array (65535) because
the stack is copied to an array when the stack overflows.
The stack space is allocated in blocks. The stack overflow is checked when the
new block is allocated. If the MaxOpStack is set close enough to 65535 the
actual stack size exceeds 65535 at the moment of stack overflow.
This condition is detected when the stack is copied to an array during
stackoverflow processing, causing a low level stack dump.
DIFFERENCES:
None
Modified: trunk/gs/lib/gs_init.ps
===================================================================
--- trunk/gs/lib/gs_init.ps 2006-07-02 11:50:18 UTC (rev 6888)
+++ trunk/gs/lib/gs_init.ps 2006-07-04 21:31:43 UTC (rev 6889)
@@ -204,7 +204,7 @@
% during initialization.
/MaxDictStack 500
/MaxExecStack 5000
- /MaxOpStack 50000
+ /MaxOpStack 65414
.dicttomark .setuserparams
} if
More information about the gs-cvs
mailing list