Browse Source

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

Roberto Ierusalimschy 13 years ago
parent
commit
763f84c84c
1 changed files with 12 additions and 2 deletions
  1. 12 2
      bugs

+ 12 - 2
bugs

@@ -1880,8 +1880,8 @@ patch = [[
 +++ lundump.c   2008/04/04 19:51:41     2.7.1.4
 @@ -1,5 +1,5 @@
  /*
--** $Id: bugs,v 1.114 2012/05/11 14:10:28 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 $
++** $Id: bugs,v 1.115 2012/06/11 17:49:37 roberto Exp roberto $
  ** load precompiled Lua chunks
  ** 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{