diff --git a/Python/marshal.c b/Python/marshal.c index 60eeaaaa3c0..c3d47607ad1 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'