diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-05-07 13:57:27 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-05-07 13:57:27 -0300 |
commit | ef83457427cdb2d9f29d94177131db8e6e2eb606 (patch) | |
tree | b6c42e1159af242ac06eb1b69befc2b4e5c33ddb | |
parent | 4833fb8273bf2017bb6c27c9aba571d40b4a5086 (diff) | |
download | lua-ef83457427cdb2d9f29d94177131db8e6e2eb606.tar.gz lua-ef83457427cdb2d9f29d94177131db8e6e2eb606.tar.bz2 lua-ef83457427cdb2d9f29d94177131db8e6e2eb606.zip |
updated several 'fix' fields
-rw-r--r-- | bugs | 28 |
1 files changed, 13 insertions, 15 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.130 2014/04/03 13:30:23 roberto Exp roberto $ | 1883 | -** $Id: bugs,v 1.131 2014/05/07 16:35:24 roberto Exp roberto $ |
1884 | +** $Id: bugs,v 1.130 2014/04/03 13:30:23 roberto Exp roberto $ | 1884 | +** $Id: bugs,v 1.131 2014/05/07 16:35:24 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 | */ |
@@ -2750,6 +2750,7 @@ Bug{ | |||
2750 | what = [[Some patterns can overflow the C stack, due to recursion]], | 2750 | what = [[Some patterns can overflow the C stack, due to recursion]], |
2751 | report = [[Tim Starling, 2012/07/08]], | 2751 | report = [[Tim Starling, 2012/07/08]], |
2752 | since = [[2.5]], | 2752 | since = [[2.5]], |
2753 | fix = [[5.2.2]], | ||
2753 | example = [[print(string.find(string.rep("a", 2^20), string.rep(".?", 2^20)))]], | 2754 | example = [[print(string.find(string.rep("a", 2^20), string.rep(".?", 2^20)))]], |
2754 | patch = [[ | 2755 | patch = [[ |
2755 | ]] | 2756 | ]] |
@@ -2761,7 +2762,7 @@ what = [['pcall' may not restore previous error function when | |||
2761 | inside coroutines]], | 2762 | inside coroutines]], |
2762 | report = [[Alexander Gavrilov, 2012/06/12]], | 2763 | report = [[Alexander Gavrilov, 2012/06/12]], |
2763 | since = [[5.2.0]], | 2764 | since = [[5.2.0]], |
2764 | fix = nil, | 2765 | fix = [[5.2.2]], |
2765 | example = [[ | 2766 | example = [[ |
2766 | function errfunc(x) | 2767 | function errfunc(x) |
2767 | return 'errfunc' | 2768 | return 'errfunc' |
@@ -2816,7 +2817,7 @@ what = [[Check for garbage collector in function calls does not cover | |||
2816 | all paths]], | 2817 | all paths]], |
2817 | report = [[Roberto, 2012/08/15]], | 2818 | report = [[Roberto, 2012/08/15]], |
2818 | since = [[5.2.1]], | 2819 | since = [[5.2.1]], |
2819 | fix = nil, | 2820 | fix = [[5.2.2]], |
2820 | example = [[ | 2821 | example = [[ |
2821 | See <a href="http://lua-users.org/lists/lua-l/2012-08/msg00149.html"> | 2822 | See <a href="http://lua-users.org/lists/lua-l/2012-08/msg00149.html"> |
2822 | http://lua-users.org/lists/lua-l/2012-08/msg00149.html</a> | 2823 | http://lua-users.org/lists/lua-l/2012-08/msg00149.html</a> |
@@ -2852,7 +2853,7 @@ what = [[load/loadfile returns wrong result when given an environment | |||
2852 | for a binary chunk with no upvalues]], | 2853 | for a binary chunk with no upvalues]], |
2853 | report = [[Vladimir Strakh, 2012/11/28]], | 2854 | report = [[Vladimir Strakh, 2012/11/28]], |
2854 | since = [[5.2.0]], | 2855 | since = [[5.2.0]], |
2855 | fix = nil, | 2856 | fix = [[5.2.2]], |
2856 | example = [[ | 2857 | example = [[ |
2857 | f = load(string.dump(function () return 1 end), nil, "b", {}) | 2858 | f = load(string.dump(function () return 1 end), nil, "b", {}) |
2858 | print(type(f)) --> table (whould be a function) | 2859 | print(type(f)) --> table (whould be a function) |
@@ -2916,7 +2917,7 @@ what = [[stack overflow in vararg functions with many fixed | |||
2916 | parameters called with few arguments]], | 2917 | parameters called with few arguments]], |
2917 | report = [[云风, 2013/04/17]], | 2918 | report = [[云风, 2013/04/17]], |
2918 | since = [[5.1]], | 2919 | since = [[5.1]], |
2919 | fix = nil, | 2920 | fix = [[5.2.3]], |
2920 | example = [[ | 2921 | example = [[ |
2921 | function f(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, | 2922 | function f(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, |
2922 | p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, | 2923 | p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, |
@@ -2943,12 +2944,11 @@ patch = [[ | |||
2943 | ]], | 2944 | ]], |
2944 | } | 2945 | } |
2945 | 2946 | ||
2946 | --[=[ | ||
2947 | Bug{ | 2947 | Bug{ |
2948 | what = [[garbage collector can trigger too many times in recursive loops]], | 2948 | what = [[garbage collector can trigger too many times in recursive loops]], |
2949 | report = [[Roberto, 2013/04/25]], | 2949 | report = [[Roberto, 2013/04/25]], |
2950 | since = [[5.2.2]], | 2950 | since = [[5.2.2]], |
2951 | fix = nil, | 2951 | fix = [[5.2.3]], |
2952 | example = [[ | 2952 | example = [[ |
2953 | function f() f() end | 2953 | function f() f() end |
2954 | f() -- it takes too long before a "stack overflow" error | 2954 | f() -- it takes too long before a "stack overflow" error |
@@ -2971,7 +2971,6 @@ patch = [[ | |||
2971 | + return sizeof(lua_State) + sizeof(TValue) * th->stacksize + | 2971 | + return sizeof(lua_State) + sizeof(TValue) * th->stacksize + |
2972 | + sizeof(CallInfo) * n; | 2972 | + sizeof(CallInfo) * n; |
2973 | } | 2973 | } |
2974 | ]] | ||
2975 | } | 2974 | } |
2976 | 2975 | ||
2977 | Bug{ | 2976 | Bug{ |
@@ -2979,7 +2978,7 @@ what = [[Wrong assert when reporting concatenation errors | |||
2979 | (manifests only when Lua is compiled in debug mode)]], | 2978 | (manifests only when Lua is compiled in debug mode)]], |
2980 | report = [[Roberto, 2013/05/05]], | 2979 | report = [[Roberto, 2013/05/05]], |
2981 | since = [[?]], | 2980 | since = [[?]], |
2982 | fix = nil, | 2981 | fix = [[5.2.3]], |
2983 | example = [[ | 2982 | example = [[ |
2984 | -- only with Lua compiled in debug mode | 2983 | -- only with Lua compiled in debug mode |
2985 | print({} .. 2) | 2984 | print({} .. 2) |
@@ -3001,7 +3000,7 @@ Bug{ | |||
3001 | what = [[Wrong error message in some short-cut expressions]], | 3000 | what = [[Wrong error message in some short-cut expressions]], |
3002 | report = [[Egor Skriptunoff, 2013/05/10]], | 3001 | report = [[Egor Skriptunoff, 2013/05/10]], |
3003 | since = [[5.0]], | 3002 | since = [[5.0]], |
3004 | fix = nil, | 3003 | fix = [[5.2.3]], |
3005 | example = [[ | 3004 | example = [[ |
3006 | > a,b,c = true,true,true | 3005 | > a,b,c = true,true,true |
3007 | > (a and b or c)('', '') | 3006 | > (a and b or c)('', '') |
@@ -3086,7 +3085,7 @@ Bug{ | |||
3086 | what = [[luac listings choke on long strings]], | 3085 | what = [[luac listings choke on long strings]], |
3087 | report = [[Ashwin Hirschi, 2013/07/03]], | 3086 | report = [[Ashwin Hirschi, 2013/07/03]], |
3088 | since = [[5.1.2]], | 3087 | since = [[5.1.2]], |
3089 | fix = nil, | 3088 | fix = [[5.2.3]], |
3090 | example = [[ | 3089 | example = [[ |
3091 | -- When you call 'luac -l' over this chunk, it chokes the output | 3090 | -- When you call 'luac -l' over this chunk, it chokes the output |
3092 | s="Lorem ipsum dolor sit amet, consectetur, " | 3091 | s="Lorem ipsum dolor sit amet, consectetur, " |
@@ -3110,7 +3109,7 @@ Bug{ | |||
3110 | what = [[GC can collect a long string still in use during parser]], | 3109 | what = [[GC can collect a long string still in use during parser]], |
3111 | report = [[Roberto, 2013/08/30]], | 3110 | report = [[Roberto, 2013/08/30]], |
3112 | since = [[5.2]], | 3111 | since = [[5.2]], |
3113 | fix = nil, | 3112 | fix = [[5.2.3]], |
3114 | example = [[This bug is very difficult to happen (and to reproduce), | 3113 | example = [[This bug is very difficult to happen (and to reproduce), |
3115 | because it depends on the GC running in a very specific way when | 3114 | because it depends on the GC running in a very specific way when |
3116 | parsing a source code with long (larger than 40 characters) identifiers.]], | 3115 | parsing a source code with long (larger than 40 characters) identifiers.]], |
@@ -3139,7 +3138,6 @@ patch = [[ | |||
3139 | return ts; | 3138 | return ts; |
3140 | ]] | 3139 | ]] |
3141 | } | 3140 | } |
3142 | ] | ||
3143 | 3141 | ||
3144 | 3142 | ||
3145 | Bug{ | 3143 | Bug{ |
@@ -3184,7 +3182,7 @@ Bug{ | |||
3184 | what = [[Resuming the running coroutine makes it unyieldable]], | 3182 | what = [[Resuming the running coroutine makes it unyieldable]], |
3185 | report = [[Florian Nücke, 2013/10/28]], | 3183 | report = [[Florian Nücke, 2013/10/28]], |
3186 | since = [[5.2]], | 3184 | since = [[5.2]], |
3187 | fix = nil, | 3185 | fix = [[5.2.3]], |
3188 | example = [[ | 3186 | example = [[ |
3189 | -- should print 'true' | 3187 | -- should print 'true' |
3190 | print(coroutine.resume(coroutine.create(function() | 3188 | print(coroutine.resume(coroutine.create(function() |