diff options
author | Mike Pall <mike> | 2012-08-28 21:22:23 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-08-28 21:22:23 +0200 |
commit | ff00a78f3ab2597a5b4113d247ca59d26538e752 (patch) | |
tree | b7705ad6fb04780adc6cd63ace074288f83a50b3 /src/lj_errmsg.h | |
parent | 751cd9d82180f1bd99a738acc29bc114995a42e4 (diff) | |
download | luajit-ff00a78f3ab2597a5b4113d247ca59d26538e752.tar.gz luajit-ff00a78f3ab2597a5b4113d247ca59d26538e752.tar.bz2 luajit-ff00a78f3ab2597a5b4113d247ca59d26538e752.zip |
Limit recursion depth in string.match() et al.
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index d59d76a2..5b10dea8 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -91,6 +91,7 @@ ERRDEF(STRPATC, "invalid pattern capture") | |||
91 | ERRDEF(STRPATE, "malformed pattern (ends with " LUA_QL("%") ")") | 91 | ERRDEF(STRPATE, "malformed pattern (ends with " LUA_QL("%") ")") |
92 | ERRDEF(STRPATM, "malformed pattern (missing " LUA_QL("]") ")") | 92 | ERRDEF(STRPATM, "malformed pattern (missing " LUA_QL("]") ")") |
93 | ERRDEF(STRPATU, "unbalanced pattern") | 93 | ERRDEF(STRPATU, "unbalanced pattern") |
94 | ERRDEF(STRPATX, "pattern too complex") | ||
94 | ERRDEF(STRCAPI, "invalid capture index") | 95 | ERRDEF(STRCAPI, "invalid capture index") |
95 | ERRDEF(STRCAPN, "too many captures") | 96 | ERRDEF(STRCAPN, "too many captures") |
96 | ERRDEF(STRCAPU, "unfinished capture") | 97 | ERRDEF(STRCAPU, "unfinished capture") |