commit | cfbe378f906061ee56f91acfbdf569d0d3fb9556 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Fri Sep 23 10:57:35 2022 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Fri Sep 23 10:57:35 2022 -0300 |
tree | 26bde27fbb3ed4c158de4a9991a144dd3f2cd57b | |
parent | a1089b415a3f5c753aa1b40758ffdaf28d5701b0 [diff] |
Small simplification in overflow check in 'getfield' Subtracting a small non-negative int from a non-negative int cannot overflow, and adding a non-negative int to INT_MIN cannot overflow.
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.