lua

A copy of the Lua development repository
Log | Files | Refs | README

commit e64fcb9d9454d7640a0a171c9e625139c0c436c0
parent 6c0a9a272e3007ffd3a0da82f74525ee756e5f9c
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri, 25 May 2007 14:13:24 -0300

bug: recursive coroutines may overflow C stack

Diffstat:
Mbugs | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/bugs b/bugs @@ -1435,6 +1435,20 @@ lvm.c: } Bug{ +what = [[recursive coroutines may overflow C stack]], +report = [[ , on ]], +since = [[5.0]], +example = [[ +a = function(a) coroutine.wrap(a)(a) end +a(a) +]], +patch = [[The 'nCcalls' counter should be shared by all threads. +(That is, it should be declared in the 'global_State' structure, +not in 'lua_State'.) +]], +} + +Bug{ what = [[ ]], report = [[ , on ]], since = [[i ]],