summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-08-15 11:34:14 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-08-15 11:34:14 +0000
commit7cce021bdc8680d5fea06e741c1581b4b49d3e97 (patch)
tree794b2c47f5256099a5a8ac6345f1f1a1cb4077a8 /pcreposix.c
parentb16e178b28a1f1a43d831648d8836a1de092339c (diff)
downloadpcre-7cce021bdc8680d5fea06e741c1581b4b49d3e97.tar.gz
Add integer overflow tests to escape processing.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@213 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 9c536e7..a0a43aa 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -124,7 +124,8 @@ static const int eint[] = {
REG_BADPAT, /* repeating a DEFINE group is not allowed */
REG_INVARG, /* inconsistent NEWLINE options */
REG_BADPAT, /* \g is not followed followed by an (optionally braced) non-zero number */
- REG_BADPAT /* (?+ or (?- must be followed by a non-zero number */
+ REG_BADPAT, /* (?+ or (?- must be followed by a non-zero number */
+ REG_BADPAT /* number is too big */
};
/* Table of texts corresponding to POSIX error codes */