summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-05-17 06:23:50 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-05-17 06:23:50 +0000
commit4f82bc31838531cb68b5ea175be0dd4584638bcf (patch)
treea8e7da30ba00b9f8a0d2514774174061615d3f10 /Python/marshal.c
parent117ef0863be330f97a096ed36e39e55ab26acdfd (diff)
downloadcpython-git-4f82bc31838531cb68b5ea175be0dd4584638bcf.tar.gz
Set the depth to something very small to try to determine if the
crashes on Windows are really due to the stack size or possibly some other problem.
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 60eeaaaa3c..c3d47607ad 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 4000
+#define MAX_MARSHAL_STACK_DEPTH 1000
#define TYPE_NULL '0'
#define TYPE_NONE 'N'