aboutsummaryrefslogtreecommitdiff
path: root/ljumptab.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-11-24 11:59:15 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-11-24 11:59:15 -0200
commit7e63d3da0240325db4011f5d2f2e8abfb5d60288 (patch)
treef6f486aaa9c1279ccdc26a1cc8bc814e005a277b /ljumptab.h
parent84e32ad2ebd6bd160c1320456743a5b1d8f233e9 (diff)
downloadlua-7e63d3da0240325db4011f5d2f2e8abfb5d60288.tar.gz
lua-7e63d3da0240325db4011f5d2f2e8abfb5d60288.tar.bz2
lua-7e63d3da0240325db4011f5d2f2e8abfb5d60288.zip
Some bugs with stack reallocation by 'luaF_close'
(Long time without testing with '-DHARDSTACKTESTS'...) With the introduction of to-be-closed variables, calls to 'luaF_close' can move the stack, but some call sites where keeping pointers to the stack without correcting them.
Diffstat (limited to 'ljumptab.h')
-rw-r--r--ljumptab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ljumptab.h b/ljumptab.h
index 0af997d0..9fa72a73 100644
--- a/ljumptab.h
+++ b/ljumptab.h
@@ -16,7 +16,7 @@
16#define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i)); 16#define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i));
17 17
18 18
19static void *disptab[] = { 19static void *disptab[NUM_OPCODES] = {
20 20
21#if 0 21#if 0
22** you can update the following list with this command: 22** you can update the following list with this command: