diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2020-09-29 09:21:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-29 09:22:12 (GMT) |
commit | eaf37ffde95e961aba6468fad81f00ef0ed388ae (patch) | |
tree | 9a168424f570d119ecf5e42b6782e1db98f6bf8a | |
parent | 82fd6850437b955f20eeb7ae68f520a2d5f4a1ab (diff) | |
download | CMake-eaf37ffde95e961aba6468fad81f00ef0ed388ae.zip CMake-eaf37ffde95e961aba6468fad81f00ef0ed388ae.tar.gz CMake-eaf37ffde95e961aba6468fad81f00ef0ed388ae.tar.bz2 |
KWSys 2020-09-29 (4a19ed43)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 4a19ed432e73d9720244eb52799c4c0a54172eca (master).
Upstream Shortlog
-----------------
Deniz Bahadir (1):
8bc06cf8 Regex: Double the maximal allowed size for a regex (to 2^{16}-1)
-rw-r--r-- | RegularExpression.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RegularExpression.cxx b/RegularExpression.cxx index 4f74eba..fb4e380 100644 --- a/RegularExpression.cxx +++ b/RegularExpression.cxx @@ -359,7 +359,7 @@ bool RegularExpression::compile(const char* exp) this->regmatch.clear(); // Small enough for pointer-storage convention? - if (comp.regsize >= 32767L) { // Probably could be 65535L. + if (comp.regsize >= 65535L) { // RAISE Error, SYM(RegularExpression), SYM(Expr_Too_Big), printf("RegularExpression::compile(): Expression too big.\n"); return false; |