diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-11-05 18:05:29 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2013-11-05 18:05:29 +0000 |
commit | 946ecf2a3210621f86d8baf69440397bb5e4394b (patch) | |
tree | 4e7c74576e0009bc264e684cbbb404dffed1aecd /pcre_config.c | |
parent | 0e5112832b6f2c6b0f98a90bf2ef9531cd2e87a2 (diff) | |
download | pcre-946ecf2a3210621f86d8baf69440397bb5e4394b.tar.gz |
Implement compile-time nested parentheses limit, specified at build time.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1389 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_config.c')
-rw-r--r-- | pcre_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pcre_config.c b/pcre_config.c index 3d5689f..1cbdd9c 100644 --- a/pcre_config.c +++ b/pcre_config.c @@ -161,6 +161,10 @@ switch (what) *((int *)where) = POSIX_MALLOC_THRESHOLD; break; + case PCRE_CONFIG_PARENS_LIMIT: + *((unsigned long int *)where) = PARENS_NEST_LIMIT; + break; + case PCRE_CONFIG_MATCH_LIMIT: *((unsigned long int *)where) = MATCH_LIMIT; break; |