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 /lua.h | |
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 'lua.h')
-rw-r--r-- | lua.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -153,7 +153,7 @@ extern const char lua_ident[]; | |||
153 | LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud); | 153 | LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud); |
154 | LUA_API void (lua_close) (lua_State *L); | 154 | LUA_API void (lua_close) (lua_State *L); |
155 | LUA_API lua_State *(lua_newthread) (lua_State *L); | 155 | LUA_API lua_State *(lua_newthread) (lua_State *L); |
156 | LUA_API int (lua_resetthread) (lua_State *L); | 156 | LUA_API int (lua_resetthread) (lua_State *L, lua_State *from); |
157 | 157 | ||
158 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); | 158 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); |
159 | 159 | ||