From: Neal Norwitz Date: Thu, 17 May 2007 06:11:36 +0000 (+0000) Subject: Reduce the max stack depth to see if this fixes the segfaults on X-Git-Tag: v2.6a1~1735 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=117ef0863be330f97a096ed36e39e55ab26acdfd;p=python 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. --- diff --git a/Python/marshal.c b/Python/marshal.c index 8faea4726d..60eeaaaa3c 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'