summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-11-20 17:47:27 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-11-20 17:47:27 +0000
commitb363a6392769a2cadb9175b9a0cc79bd7ecdbd99 (patch)
tree31f238229845c20395ad1c7adae0472535cacca1 /pcreposix.c
parentdf3e1f5efe8ad07dd34302fa929a13a320d8f76a (diff)
downloadpcre-b363a6392769a2cadb9175b9a0cc79bd7ecdbd99.tar.gz
Give error if \c is followed by a byte > 127 (in ASCII/UTF-8 modes).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@574 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcreposix.c b/pcreposix.c
index c5f3d71..15ae19d 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -151,6 +151,7 @@ static const int eint[] = {
REG_BADPAT, /* different names for subpatterns of the same number are not allowed */
REG_BADPAT, /* (*MARK) must have an argument */
REG_INVARG, /* this version of PCRE is not compiled with PCRE_UCP support */
+ REG_BADPAT, /* \c must be followed by an ASCII character */
};
/* Table of texts corresponding to POSIX error codes */