commit | e0260eb2d4085723302d637dd8f3fca339d18817 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Thu Feb 25 13:39:36 2021 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Thu Feb 25 13:39:36 2021 -0300 |
tree | b9cf6cdaf3c5b3a51c16ef0cf9bb46564e5ce807 | |
parent | 5205f073c57ae4b69e90d35c02e3a1a1cca44eb4 [diff] |
Bug (kind of) in 'isinstack' The function 'isinstack' tried to work around the undefined behavior of subtracting two pointers that do not point to the same object, but the compiler killed to trick. (It optimizes out the safety check, because in a correct execution it will be always true.)
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.