mirror of
https://github.com/lua/lua
synced 2026-06-08 15:34:49 +00:00
34affe7a63fc5d842580a9f23616d057e17dfe27
In luaD_callnoyield, when there is a possible stack overflow, it zeros the number of CallInfos to force a check when calling the function. However, if the "function" is not a function, the code will raise an error before checking the stack. Then, the error handling calls luaD_callnoyield again and nCcalls is decremented again, crossing the stack redzone without raising an error. (This loop can only happens once, because the error handler must be a function. But once is enough to cross the redzone.)
Description
Automated archival mirror of github.com/lua/lua
Languages
C
66.4%
Lua
33%
Makefile
0.6%