summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-11-05 18:05:29 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-11-05 18:05:29 +0000
commit946ecf2a3210621f86d8baf69440397bb5e4394b (patch)
tree4e7c74576e0009bc264e684cbbb404dffed1aecd /pcreposix.c
parent0e5112832b6f2c6b0f98a90bf2ef9531cd2e87a2 (diff)
downloadpcre-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 'pcreposix.c')
-rw-r--r--pcreposix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcreposix.c b/pcreposix.c
index 28e199f..2f27c01 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -167,7 +167,8 @@ static const int eint[] = {
REG_BADPAT, /* non-hex character in \\x{} (closing brace missing?) */
/* 80 */
REG_BADPAT, /* non-octal character in \o{} (closing brace missing?) */
- REG_BADPAT /* missing opening brace after \o */
+ REG_BADPAT, /* missing opening brace after \o */
+ REG_BADPAT /* parentheses too deeply nested */
};
/* Table of texts corresponding to POSIX error codes */