author | Szabolcs Nagy <nsz@port70.net> | 2016年01月31日 16:46:46 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016年01月31日 17:33:54 -0500 |
commit | 2810b30fc3c515e38d6acabe87de7b48bb8bfc7b (patch) | |
tree | 16952c91c5b186aa25faea2cc2e257084c7b0265 /src/regex/regcomp.c | |
parent | 3b27725385614d44add9351191765181edc3f4c1 (diff) | |
download | musl-2810b30fc3c515e38d6acabe87de7b48bb8bfc7b.tar.gz |
-rw-r--r-- | src/regex/regcomp.c | 2 |
diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index 7ce29889..da6abd18 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -2688,7 +2688,7 @@ regcomp(regex_t *restrict preg, const char *restrict regex, int cflags) /* Allocate a stack used throughout the compilation process for various purposes. */ - stack = tre_stack_new(512, 10240, 128); + stack = tre_stack_new(512, 1024000, 128); if (!stack) return REG_ESPACE; /* Allocate a fast memory allocator. */ |