summaryrefslogtreecommitdiff
path: root/src/include/regex/regerrs.h
diff options
context:
space:
mode:
authorHeikki Linnakangas2013-04-04 16:04:57 +0000
committerHeikki Linnakangas2013-04-04 16:48:11 +0000
commitbf2b0a147857f63daa2e5c17eed0169861371af8 (patch)
treec075c53dbb17fddcec93e53c1bd097e5e26af4ff /src/include/regex/regerrs.h
parentd7d5832012ae5174707643af1a450d26d3350719 (diff)
Fix crash on compiling a regular expression with more than 32k colors.
Throw an error instead. Backpatch to all supported branches.
Diffstat (limited to 'src/include/regex/regerrs.h')
-rw-r--r--src/include/regex/regerrs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/regex/regerrs.h b/src/include/regex/regerrs.h
index a761371e5d7..f02711ee176 100644
--- a/src/include/regex/regerrs.h
+++ b/src/include/regex/regerrs.h
@@ -77,3 +77,7 @@
{
REG_ETOOBIG, "REG_ETOOBIG", "nfa has too many states"
},
+
+{
+ REG_ECOLORS, "REG_ECOLORS", "too many colors"
+},