commit | 0c9bec0d38ed3d2c45d7be4e764a0bcffef98be1 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Feb 07 13:39:54 2024 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Feb 07 13:39:54 2024 -0300 |
tree | 05fd1ba56705dc0a1728e1bedda7961cc96414c1 | |
parent | c31d6774ac7db4cfbc548ce507ae65ab6036f873 [diff] |
Better handling of size limit when resizing a table Avoid silent conversions from int to unsigned int when calling 'luaH_resize'; avoid silent conversions from lua_Integer to int in 'table.create'; MAXASIZE corrected for the new implementation of arrays; 'luaH_resize' checks explicitly whether new size respects MAXASIZE. (Even constructors were bypassing that check.)
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.