aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-05-25 14:13:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-05-25 14:13:47 -0300
commite64fcb9d9454d7640a0a171c9e625139c0c436c0 (patch)
treee40278a8cdb05070b43abd0a8ae7d7c7caa3af77
parent6c0a9a272e3007ffd3a0da82f74525ee756e5f9c (diff)
downloadlua-e64fcb9d9454d7640a0a171c9e625139c0c436c0.tar.gz
lua-e64fcb9d9454d7640a0a171c9e625139c0c436c0.tar.bz2
lua-e64fcb9d9454d7640a0a171c9e625139c0c436c0.zip
bug: recursive coroutines may overflow C stack
-rw-r--r--bugs14
1 files changed, 14 insertions, 0 deletions
diff --git a/bugs b/bugs
index 11d57c02..2025aa63 100644
--- a/bugs
+++ b/bugs
@@ -1435,6 +1435,20 @@ lvm.c:
1435} 1435}
1436 1436
1437Bug{ 1437Bug{
1438what = [[recursive coroutines may overflow C stack]],
1439report = [[ , on ]],
1440since = [[5.0]],
1441example = [[
1442a = function(a) coroutine.wrap(a)(a) end
1443a(a)
1444]],
1445patch = [[The 'nCcalls' counter should be shared by all threads.
1446(That is, it should be declared in the 'global_State' structure,
1447not in 'lua_State'.)
1448]],
1449}
1450
1451Bug{
1438what = [[ ]], 1452what = [[ ]],
1439report = [[ , on ]], 1453report = [[ , on ]],
1440since = [[i ]], 1454since = [[i ]],