summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/pcreposix.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-04-27 23:22:44 -0700
committerStanislav Malyshev <stas@php.net>2015-04-27 23:25:32 -0700
commit13c32a102c7626673f41dfecba4188a6c6c6934c (patch)
tree69b9e5d3fbeb6780824c3de19d300b8a608de06c /ext/pcre/pcrelib/pcreposix.c
parent957aa220aa175a874f429f97701eede0f1ef14d3 (diff)
parent23917b451bf4029e78082b4e0a56bc4c6f117990 (diff)
downloadphp-git-13c32a102c7626673f41dfecba4188a6c6c6934c.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Upgrade PCRE to 8.36, it fixes some crashes
Diffstat (limited to 'ext/pcre/pcrelib/pcreposix.c')
-rw-r--r--ext/pcre/pcrelib/pcreposix.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/pcreposix.c b/ext/pcre/pcrelib/pcreposix.c
index 7cf4a4a657..f024423b63 100644
--- a/ext/pcre/pcrelib/pcreposix.c
+++ b/ext/pcre/pcrelib/pcreposix.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2012 University of Cambridge
+ Copyright (c) 1997-2014 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -170,7 +170,10 @@ static const int eint[] = {
REG_BADPAT, /* missing opening brace after \o */
REG_BADPAT, /* parentheses too deeply nested */
REG_BADPAT, /* invalid range in character class */
- REG_BADPAT /* group name must start with a non-digit */
+ REG_BADPAT, /* group name must start with a non-digit */
+ /* 85 */
+ REG_BADPAT, /* parentheses too deeply nested (stack check) */
+ REG_BADPAT /* missing digits in \x{} or \o{} */
};
/* Table of texts corresponding to POSIX error codes */