aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-07-08 12:02:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-07-08 12:02:56 -0300
commit31b8c2d4380a762d1ed6a7faee74a1d107f86014 (patch)
tree758ffbdfc17bc9c33f11fdce89abbda33d860e64 /lmem.c
parenteb41999461b6f428186c55abd95f4ce1a76217d5 (diff)
downloadlua-31b8c2d4380a762d1ed6a7faee74a1d107f86014.tar.gz
lua-31b8c2d4380a762d1ed6a7faee74a1d107f86014.tar.bz2
lua-31b8c2d4380a762d1ed6a7faee74a1d107f86014.zip
Fixed bug of access violation in finalizers
Errors in finalizers need a valid 'pc' to produce an error message, even if the error is not propagated. Therefore, calls to the GC (which may call finalizers) inside luaV_execute must save the 'pc'.
Diffstat (limited to 'lmem.c')
0 files changed, 0 insertions, 0 deletions