Commit 264d34bf authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(re_max_failures): Reduce to 8000.

parent ec46c6e8
......@@ -1008,7 +1008,9 @@ static const char *re_error_msgid[] =
This is a variable only so users of regex can assign to it; we never
change it ourselves. */
#if defined (MATCH_MAY_ALLOCATE)
int re_max_failures = 20000;
/* 8600 was enough to cause a crash on Ultrix,
whose default stack limit is 2mb. */
int re_max_failures = 8000;
#else
int re_max_failures = 2000;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment