diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-07-13 11:53:38 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-07-13 11:53:38 -0300 |
| commit | 763f84c84cc2274c817b020365033ac54489bbde (patch) | |
| tree | 3429754cf0a2f51c089bd7ab3db457cf1b9ec195 /bugs | |
| parent | e4f609d0ee1cbbd357bec00c43effc659971bc7a (diff) | |
| download | lua-763f84c84cc2274c817b020365033ac54489bbde.tar.gz lua-763f84c84cc2274c817b020365033ac54489bbde.tar.bz2 lua-763f84c84cc2274c817b020365033ac54489bbde.zip | |
Some patterns can overflow the C stack, due to recursion.
Diffstat (limited to 'bugs')
| -rw-r--r-- | bugs | 14 |
1 files changed, 12 insertions, 2 deletions
| @@ -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 | ||
| 2688 | Bug{ | ||
| 2689 | what = [[Some patterns can overflow the C stack, due to recursion]], | ||
| 2690 | report = [[Tim Starling, 2012/07/08]], | ||
| 2691 | since = [[2.5]], | ||
| 2692 | example = [[print(string.find(string.rep("a", 2^20), string.rep(".?", 2^20)))]], | ||
| 2693 | patch = [[ | ||
| 2694 | ]] | ||
| 2695 | } | ||
| 2696 | ]=] | ||
| 2697 | |||
| 2688 | 2698 | ||
| 2689 | --[=[ | 2699 | --[=[ |
| 2690 | Bug{ | 2700 | Bug{ |
