aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-07-13 11:53:38 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2012-07-13 11:53:38 -0300
commit763f84c84cc2274c817b020365033ac54489bbde (patch)
tree3429754cf0a2f51c089bd7ab3db457cf1b9ec195
parente4f609d0ee1cbbd357bec00c43effc659971bc7a (diff)
downloadlua-763f84c84cc2274c817b020365033ac54489bbde.tar.gz
lua-763f84c84cc2274c817b020365033ac54489bbde.tar.bz2
lua-763f84c84cc2274c817b020365033ac54489bbde.zip
Some patterns can overflow the C stack, due to recursion.
-rw-r--r--bugs14
1 files changed, 12 insertions, 2 deletions
diff --git a/bugs b/bugs
index 492e9b31..bd79a895 100644
--- a/bugs
+++ b/bugs
@@ -1880,8 +1880,8 @@ patch = [[
1880+++ lundump.c 2008/04/04 19:51:41 2.7.1.4 1880+++ lundump.c 2008/04/04 19:51:41 2.7.1.4
1881@@ -1,5 +1,5 @@ 1881@@ -1,5 +1,5 @@
1882 /* 1882 /*
1883-** $Id: bugs,v 1.114 2012/05/11 14:10:28 roberto Exp roberto $ 1883-** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $
1884+** $Id: bugs,v 1.114 2012/05/11 14:10:28 roberto Exp roberto $ 1884+** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $
1885 ** load precompiled Lua chunks 1885 ** load precompiled Lua chunks
1886 ** See Copyright Notice in lua.h 1886 ** See Copyright Notice in lua.h
1887 */ 1887 */
@@ -2685,6 +2685,16 @@ patch = [[
2685]] 2685]]
2686} 2686}
2687 2687
2688Bug{
2689what = [[Some patterns can overflow the C stack, due to recursion]],
2690report = [[Tim Starling, 2012/07/08]],
2691since = [[2.5]],
2692example = [[print(string.find(string.rep("a", 2^20), string.rep(".?", 2^20)))]],
2693patch = [[
2694]]
2695}
2696]=]
2697
2688 2698
2689--[=[ 2699--[=[
2690Bug{ 2700Bug{