diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-19 12:13:00 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-19 12:13:00 -0300 |
commit | 440a5ee78c8592230780310c9c8d8c2ba1700cb1 (patch) | |
tree | 30d361cbe23eb652f8874e580750ca65fcca5b52 /all | |
parent | dc07719b0dbc4f2df0f42e34e18be1e0ac4fa2c3 (diff) | |
download | lua-440a5ee78c8592230780310c9c8d8c2ba1700cb1.tar.gz lua-440a5ee78c8592230780310c9c8d8c2ba1700cb1.tar.bz2 lua-440a5ee78c8592230780310c9c8d8c2ba1700cb1.zip |
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)()
Diffstat (limited to 'all')
0 files changed, 0 insertions, 0 deletions