From 117ef0863be330f97a096ed36e39e55ab26acdfd Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Thu, 17 May 2007 06:11:36 +0000 Subject: 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. --- Python/marshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v0.12