Lua 5.3.1 RC1 发布,此版本是 Lua 5.3.0 的 bug 修复版本:
string.format("%f") can cause a buffer overflow
(only when 'lua_Number' is long double!).(reported by Roberto)
debug.getlocal on a coroutine suspended in a hook
can crash the interpreter.(reported by 云风 )
Suspended __le metamethod can give wrong result.(reported by Eric Zhong) Return hook may not see correct values for
active local variables when function returns.(reported by Philipp Janda and Peng Yi )
详细修复内容请看这里。
此版本现已提供下载:lua-5.3.1-rc1.tar.gz。 |