aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-08-28 21:22:23 +0200
committerMike Pall <mike>2012-08-28 21:22:23 +0200
commitff00a78f3ab2597a5b4113d247ca59d26538e752 (patch)
treeb7705ad6fb04780adc6cd63ace074288f83a50b3 /src/lj_errmsg.h
parent751cd9d82180f1bd99a738acc29bc114995a42e4 (diff)
downloadluajit-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.h1
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")
91ERRDEF(STRPATE, "malformed pattern (ends with " LUA_QL("%") ")") 91ERRDEF(STRPATE, "malformed pattern (ends with " LUA_QL("%") ")")
92ERRDEF(STRPATM, "malformed pattern (missing " LUA_QL("]") ")") 92ERRDEF(STRPATM, "malformed pattern (missing " LUA_QL("]") ")")
93ERRDEF(STRPATU, "unbalanced pattern") 93ERRDEF(STRPATU, "unbalanced pattern")
94ERRDEF(STRPATX, "pattern too complex")
94ERRDEF(STRCAPI, "invalid capture index") 95ERRDEF(STRCAPI, "invalid capture index")
95ERRDEF(STRCAPN, "too many captures") 96ERRDEF(STRCAPN, "too many captures")
96ERRDEF(STRCAPU, "unfinished capture") 97ERRDEF(STRCAPU, "unfinished capture")