Some patterns can overflow the C stack, due to recursion.

This commit is contained in:
Roberto Ierusalimschy 2012-07-13 11:53:38 -03:00
parent e4f609d0ee
commit 763f84c84c
1 changed files with 12 additions and 2 deletions

14
bugs
View File

@ -1880,8 +1880,8 @@ patch = [[
+++ lundump.c 2008/04/04 19:51:41 2.7.1.4 +++ lundump.c 2008/04/04 19:51:41 2.7.1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/* /*
-** $Id: bugs,v 1.114 2012/05/11 14:10:28 roberto Exp roberto $ -** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $
+** $Id: bugs,v 1.114 2012/05/11 14:10:28 roberto Exp roberto $ +** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $
** load precompiled Lua chunks ** load precompiled Lua chunks
** See Copyright Notice in lua.h ** See Copyright Notice in lua.h
*/ */
@ -2685,6 +2685,16 @@ patch = [[
]] ]]
} }
Bug{
what = [[Some patterns can overflow the C stack, due to recursion]],
report = [[Tim Starling, 2012/07/08]],
since = [[2.5]],
example = [[print(string.find(string.rep("a", 2^20), string.rep(".?", 2^20)))]],
patch = [[
]]
}
]=]
--[=[ --[=[
Bug{ Bug{