summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-05-17 06:11:36 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-05-17 06:11:36 (GMT)
commit117ef0863be330f97a096ed36e39e55ab26acdfd (patch)
tree58ee58cb9729e86ecddfd84146926750dd6054e4 /Python/marshal.c
parent5cd0fca9d89ce16f5ddfb4d6b11ef04fa0ee1de0 (diff)
downloadcpython-117ef0863be330f97a096ed36e39e55ab26acdfd.zip
cpython-117ef0863be330f97a096ed36e39e55ab26acdfd.tar.gz
cpython-117ef0863be330f97a096ed36e39e55ab26acdfd.tar.bz2
Reduce the max stack depth to see if this fixes the segfaults on
Windows and some other boxes. If this is successful, this rev should be backported. I'm not sure how close to the limit we should push this.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 8faea47..60eeaaa 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -15,7 +15,7 @@
* and risks coring the interpreter. When the object stack gets this deep,
* raise an exception instead of continuing.
*/
-#define MAX_MARSHAL_STACK_DEPTH 5000
+#define MAX_MARSHAL_STACK_DEPTH 4000
#define TYPE_NULL '0'
#define TYPE_NONE 'N'