<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lapi.c, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-07-22T16:43:40+00:00</updated>
<entry>
<title>Details</title>
<updated>2026-07-22T16:43:40+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-07-22T16:43:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d5bbe955840c5c83e37ed19df4d392d7ba0970ed'/>
<id>urn:sha1:d5bbe955840c5c83e37ed19df4d392d7ba0970ed</id>
<content type='text'>
- Some api_checknelems changed to the more restrict api_checkpop.
- Added a class to the html for APIs in the manual.
- Comments and manual.
</content>
</entry>
<entry>
<title>new macro 'setnilvalue2s'</title>
<updated>2026-04-23T21:00:23+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-23T21:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=ae23e726018bd31a25c1279600328d90207ec81c'/>
<id>urn:sha1:ae23e726018bd31a25c1279600328d90207ec81c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bug: Loading a binary chunk does not run the GC</title>
<updated>2026-04-01T17:59:41+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-01T17:59:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=f1bb2773bba8b16f0f01c00e59a7be541ef88cb7'/>
<id>urn:sha1:f1bb2773bba8b16f0f01c00e59a7be541ef88cb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BUG: Arithmetic overflow in 'collectgarbage"step"'</title>
<updated>2025-12-27T19:22:13+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-12-27T19:22:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=632a71b24d8661228a726deb5e1698e9638f96d8'/>
<id>urn:sha1:632a71b24d8661228a726deb5e1698e9638f96d8</id>
<content type='text'>
The computation of a new debt could overflow when we give a too large
step to 'collectgarbage"step"' and the current debt was already
negative. This is only an issue if your platform cares for it or if you
compile Lua with an option like '-fsanitize=undefined'.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2025-12-23T17:44:06+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-12-23T17:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=578ae5745cecee56d48795cd4ae1eaf13618715c'/>
<id>urn:sha1:578ae5745cecee56d48795cd4ae1eaf13618715c</id>
<content type='text'>
typo in comment + formatting + logical 'and' was written as a bitwise
operation (makes code more fragile)
</content>
</entry>
<entry>
<title>Details</title>
<updated>2025-09-05T18:36:47+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-09-05T18:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=9ea06e61f20ae34974226074fc6123dbb54a07c2'/>
<id>urn:sha1:9ea06e61f20ae34974226074fc6123dbb54a07c2</id>
<content type='text'>
- LUAMOD_API defined as 'extern "C"' in C++.
- "ANSI C" is in fact "ISO C" (comments)
- Removed option -std from makefile in testes/libs. (Easier to change
  to C++ for tests).
</content>
</entry>
<entry>
<title>Added lock/unlock to API function 'lua_rawlen'</title>
<updated>2025-08-20T18:00:53+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-08-20T18:00:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=907d172c1114a2d61e85e1ca7aba50ef1fc4ffe3'/>
<id>urn:sha1:907d172c1114a2d61e85e1ca7aba50ef1fc4ffe3</id>
<content type='text'>
The call to 'luaH_getn' can change the "field" 'lenhint' of a table.
</content>
</entry>
<entry>
<title>Randomness added to table length computation</title>
<updated>2025-07-18T19:18:30+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-18T19:18:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=303f4155593721dfd57dadc6e56122e465ce9efb'/>
<id>urn:sha1:303f4155593721dfd57dadc6e56122e465ce9efb</id>
<content type='text'>
A bad actor could fill only a few entries in a table (power of twos in
decreasing order, see tests) and produce a small table with a huge
length. If your program builds a table with external data and iterates
over its length, this behavior could be an issue.
</content>
</entry>
<entry>
<title>Details (comments)</title>
<updated>2025-07-07T18:02:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-07T18:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=03d672a95cfd287855b373587f3975165eab9e02'/>
<id>urn:sha1:03d672a95cfd287855b373587f3975165eab9e02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New macro 'pushvfstring'</title>
<updated>2025-04-23T14:55:04+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-04-23T14:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e05590591410a5e007a1e3f1691f6c1cf9d8fe45'/>
<id>urn:sha1:e05590591410a5e007a1e3f1691f6c1cf9d8fe45</id>
<content type='text'>
Helps to ensure that 'luaO_pushvfstring' is being called correctly,
with an error check after closing the vararg list with 'va_end'.
</content>
</entry>
</feed>
