pcre/pcre-6.6-stack.patch
Than Ngo dd269d826c - update to 6.7
- fix #217303, enable-unicode-properties
- sane stack limit
2006-11-27 19:43:55 +00:00

21 lines
562 B
Diff

--- pcre-6.6/config.h.in.orig 2006-11-27 20:13:06.000000000 +0100
+++ pcre-6.6/config.h.in 2006-11-27 20:14:31.000000000 +0100
@@ -108,7 +108,7 @@
override this default default. */
#ifndef MATCH_LIMIT
-#define MATCH_LIMIT 10000000
+#define MATCH_LIMIT 100000
#endif
/* The above limit applies to all calls of match(), whether or not they
@@ -121,7 +121,7 @@
"configure" can be used to override this default default. */
#ifndef MATCH_LIMIT_RECURSION
-#define MATCH_LIMIT_RECURSION MATCH_LIMIT
+#define MATCH_LIMIT_RECURSION 10000
#endif
/* End */