aboutsummaryrefslogtreecommitdiff
path: root/loadlib.c
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2026-07-13 15:55:36 -0300
committerRoberto I <roberto@inf.puc-rio.br>2026-07-13 15:55:36 -0300
commit0f781f836ab348716eb9232d3831a871b9821a3c (patch)
tree2bdc431f9d920ae418c5ce6fb1569fb984234ed4 /loadlib.c
parent934fdd481ced3a9d4a7aaace4479ce889ab23582 (diff)
downloadlua-0f781f836ab348716eb9232d3831a871b9821a3c.tar.gz
lua-0f781f836ab348716eb9232d3831a871b9821a3c.tar.bz2
lua-0f781f836ab348716eb9232d3831a871b9821a3c.zip
Bug: Issues with write barrier for __newindex
In 'luaV_finishset', there is an update on a table that is a field on another table. If the first table is the same as the one with the field (e.g., after 't.__newindex = t'), the update can change the value on that field (if the field being updated is '__newindex' itself). After that, the barrier is called with the table stored in that field, which is not the correct table anymore.
Diffstat (limited to 'loadlib.c')
0 files changed, 0 insertions, 0 deletions