diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-10-25 16:44:06 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-10-25 16:44:06 -0300 |
| commit | 1e64c1391f9a14115b5cc82066dbf545ae73ee27 (patch) | |
| tree | 4aa3b6c2854c920ed825bf9fe46d275826e5ab6e /ltests.c | |
| parent | b85816b9a884cbe4cfd139a8e11ffc28ecead576 (diff) | |
| download | lua-1e64c1391f9a14115b5cc82066dbf545ae73ee27.tar.gz lua-1e64c1391f9a14115b5cc82066dbf545ae73ee27.tar.bz2 lua-1e64c1391f9a14115b5cc82066dbf545ae73ee27.zip | |
Bug: stack overflow with nesting of coroutine.close
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1533,7 +1533,7 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) { | |||
| 1533 | lua_newthread(L1); | 1533 | lua_newthread(L1); |
| 1534 | } | 1534 | } |
| 1535 | else if EQ("resetthread") { | 1535 | else if EQ("resetthread") { |
| 1536 | lua_pushinteger(L1, lua_resetthread(L1)); | 1536 | lua_pushinteger(L1, lua_resetthread(L1, L)); |
| 1537 | } | 1537 | } |
| 1538 | else if EQ("newuserdata") { | 1538 | else if EQ("newuserdata") { |
| 1539 | lua_newuserdata(L1, getnum); | 1539 | lua_newuserdata(L1, getnum); |
