diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-18 11:26:03 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-07-18 11:26:03 -0300 |
commit | 024a6071cac749504e0b26a915bda4f52c41a892 (patch) | |
tree | 564572b784d477d1ba460012031caf277bf89a74 /lmem.c | |
parent | 4eefef07ab1c136f901d816822c79336fa89336d (diff) | |
download | lua-024a6071cac749504e0b26a915bda4f52c41a892.tar.gz lua-024a6071cac749504e0b26a915bda4f52c41a892.tar.bz2 lua-024a6071cac749504e0b26a915bda4f52c41a892.zip |
Small bug with stack reallocation
OP_RETURN must update trap before updating stack. (Bug detected with
-DHARDSTACKTESTS). Also, in 'luaF_close', do not create a variable
with 'uplevel(uv)', as the stack may change and invalidate this
value. (This is not a bug, but could become one if 'upl' was used
again.)
Diffstat (limited to 'lmem.c')
0 files changed, 0 insertions, 0 deletions