1
0
mirror of https://github.com/lua/lua.git synced 2025-01-28 06:03:00 +08:00
Roberto Ierusalimschy 440a5ee78c Fixed bug for emergency collection in upvalue creation
When creating an upvalue, an emergency collection can collect the
previous upvalue where the new one would be linked. The following
code can trigger the bug, using valgrind on Lua compiled with the
-DHARDMEMTESTS option:

  local x; local y
  (function () return y end)();
  (function () return x end)()
2019-07-19 12:13:00 -03:00
2019-07-18 15:31:22 -03:00
2018-10-25 15:30:15 -03:00
2019-07-05 15:03:15 -03:00
2019-04-24 14:41:41 -03:00
2019-06-04 11:22:21 -03:00
2019-07-17 14:26:56 -03:00
2019-06-18 16:52:22 -03:00
2019-06-03 11:36:42 -03:00
2019-07-19 11:12:31 -03:00
2019-07-05 15:03:15 -03:00
2019-06-03 11:36:42 -03:00
2019-07-19 09:43:35 -03:00
2019-07-05 15:03:15 -03:00
2019-07-19 11:12:31 -03:00
2019-07-17 14:26:56 -03:00
2019-07-17 14:26:56 -03:00
2019-06-26 13:26:36 -03:00
2019-07-19 11:12:31 -03:00
2019-06-03 11:36:42 -03:00
2019-07-05 15:03:15 -03:00
2019-07-19 11:12:31 -03:00
2019-06-26 13:26:36 -03:00
2019-07-05 15:03:15 -03:00
2019-06-18 16:52:22 -03:00
2019-07-05 15:03:15 -03:00
2019-06-05 13:21:16 -03:00
Description
No description provided
16 MiB
Languages
C 67.4%
Lua 32%
Makefile 0.6%