diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-04-04 19:04:57 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-04-04 19:31:59 +0300 |
commit | c99e0d382f811cf0fbad50e912183ed4eb7b8de8 (patch) | |
tree | 56b4bb386f143a2dd69a31242572785510f495b3 /src/include/regex/regerrs.h | |
parent | 9508754ed7e3b5688c97a26bbe15af7e11d7f06a (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.h | 4 |
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" +}, |