summaryrefslogtreecommitdiff
path: root/testes/coroutine.lua
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-05-20 13:14:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-05-20 13:14:33 -0300
commit42d40581dd919fb134c07027ca1ce0844c670daf (patch)
tree9a1037510268dc09dbedebf2a91729399bcca2e0 /testes/coroutine.lua
parente435aaabef8e717e0812a16a82b56acd11fb34c1 (diff)
downloadlua-github-42d40581dd919fb134c07027ca1ce0844c670daf.tar.gz
Save stack space while handling errors
Because error handling (luaG_errormsg) uses slots from EXTRA_STACK, and some errors can recur (e.g., string overflow while creating an error message in 'luaG_runerror', or a C-stack overflow before calling the message handler), the code should use stack slots with parsimony. This commit fixes the bug "Lua-stack overflow when C stack overflows while handling an error".
Diffstat (limited to 'testes/coroutine.lua')
0 files changed, 0 insertions, 0 deletions