summaryrefslogtreecommitdiff
path: root/external/mit/lua/dist
AgeCommit message (Collapse)Author
2023-06-08lua: resolve import conflictsnikita
2023-04-23lua: fix ftb in lstrlib.c for clangnikita
(error: enumeration values 'Knumber' and 'Kdouble' not handled in switch [-Werror,-Wswitch])
2023-04-22lua: formatting in lvm.cnikita
2023-04-21lua: fix formating diff to upstream in ldo.hnikita
2023-04-21lua: fix ftb in lvm.cnikita
2023-04-18lua: mention patches with commit IDs in README.import for now.nikita
2023-04-17lua: apply upstream bugfix for "Loading a corrupted binary file can segfault."nikita
2023-04-17lua: apply upstream bugfix for "Wrong line in error message for arithmetic ↵nikita
errors." It also causes 'L->top' to be wrong when the error happens, triggering an 'assert'.
2023-04-17lua: apply ustream bugfix for "C-stack overflow with deep nesting of ↵nikita
coroutine.close."
2023-04-17lua: apply upstream bugfix for "'utf8.codes' does not raise an error on ↵nikita
spurious continuation bytes."
2023-04-17lua: apply upstream bugfix for "GC not setting a proper target for next ↵nikita
cycle after a full collection in generational mode."
2023-04-17lua: apply upstream bugfix for "'break' may not properly close variable in a ↵nikita
'for' loop." Function 'leaveblock' was generating "break" label before removing variables from the closing block. If 'createlabel' created a 'close' instruction (which it did when matching a goto/break that exited the scope of an upvalue), that instruction would use the wrong level.
2023-04-17lua: aply upstream bugfix for "'lua_settop' may use a pointer to stack ↵nikita
invalidated by 'luaF_close'."
2023-04-17lua: apply upstream bugfix for "Lua-stack overflow when C stack overflows whilenikita
handling an error." (CVE-2022-33099) Save stack space while handling errors Because error handling (luaG_errormsg) uses slots from EXTRA_STACK, and some errors can recur (e.g., string overflow while creating an error message in 'luaG_runerror', or a C-stack overflow before calling the message handler), the code should use stack slots with parsimony. This commit fixes the bug "Lua-stack overflow when C stack overflows while handling an error".
2023-04-17lua: apply upstream bugfix for "Wrong code generation for constants in ↵nikita
bitwise operations."
2023-04-17lua: apply upstream bugfix for "Lua can generate wrong code when _ENV is ↵nikita
<const>."
2023-04-17lua: Apply upstream bugfix for "lua.c assumes that argv has at least one ↵nikita
element."
2023-04-16Resolve conflicts for lua 5.4.4 import.nikita
Adjust various files for lua 5.4.4.
2023-01-02Import Lua 5.4.4nikita
2021-07-24Fix all remaining typos, mainly in comments but also in few definitions and ↵andvar
log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos.
2019-12-12Apply a fix for the bug "Joining an upvalue with itself can cause a use-aftermbalmer
free", documented on http://www.lua.org/bugs.html
2018-08-04Don't use $NetBSD$ in a sentence, refer to them as 'RCS identifiers'.alnsn
2018-08-04README.import with step-by-step import instruction.alnsn
2018-08-04Resolve conflicts.alnsn
2018-07-29Remove files imported to a wrong directory.alnsn
2018-07-29Import Lua 5.3.5.alnsn
2018-07-01Apply bugfix #7 from lua.org/bugs.html: Memory-allocation error when resizingmbalmer
a table can leave it in an inconsistent state.
2018-05-26Change LUAL_BUFFERSIZE from 4-8K to 128 bytes for kernel-side Lua.alnsn
LUAL_BUFFERSIZE defines how much luaL_Buffer allocates from the stack. Apparently, 4-8K is too much for the kernel stack.
2017-12-13Apply a bugfix from lua.org/bugs,html:mbalmer
lua_pushcclosure should not call the garbage collector when n is zero.
2017-09-07Apply bug fix from lua.org/bugs.html (dead keys with nil values can staymbalmer
in weak tables).
2017-08-03Apply a bug fix from lua.org/bugs.html: Lua does not check GC when creatingmbalmer
error messages.
2017-05-20don't spam the console, just output the Lua version information as lua(1) doesmbalmer
2017-05-07Fix a bug that gerenates wrong code for a goto followed by a label inside anmbalmer
'if' (see https://www.lua.org/bugs.html).
2017-04-26kernel mode lua has no floating point availablembalmer
2017-04-26import conflict resolutionmbalmer
2017-04-26fix import conflictsmbalmer
2017-04-26resolve import conflictsmbalmer
2017-04-26after-import fixes, conflict resolutionmbalmer
2017-04-26Lua 5.3.4mbalmer
2016-09-10Remove a typo, %i is not conversion specification.mbalmer
2016-09-10Define LUA_STRFTIMEOPTIONS so that the conversion specifications of the Luambalmer
os.date() function match the conversion specifications of the underlying strftime() function.
2016-09-08fix code style issuesalazar
2016-09-08fix kernel Lua code style issuessalazar
2016-09-08fix bug 3 (for Lua.5.3.3) reported on www.lua.org/bugs.htmlsalazar
2016-09-08fix bug 2 (for Lua.5.3.3) reported on www.lua.org/bugs.htmlsalazar
2016-09-08fix bug 1 reported on www.lua.org/bugs.htmlsalazar
2016-09-08fix misplaced kernel Lua ifndefsalazar
2016-09-08merge Lua 5.3.3salazar
2016-03-25Apply second and third patch from http://lua.org/bugs.html.mbalmer
2016-01-28fixed metatable access to deallocated fieldlneto
author: Lua.org <team@lua.org> see: http://www.lua.org/bugs.html#5.3.2-1