diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-07-08 12:02:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-07-08 12:02:56 -0300 |
commit | 31b8c2d4380a762d1ed6a7faee74a1d107f86014 (patch) | |
tree | 758ffbdfc17bc9c33f11fdce89abbda33d860e64 /lmem.c | |
parent | eb41999461b6f428186c55abd95f4ce1a76217d5 (diff) | |
download | lua-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