mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
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)
This commit is contained in:
committed by
Brad King
parent
82fd685043
commit
eaf37ffde9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user