From 7e63d3da0240325db4011f5d2f2e8abfb5d60288 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 24 Nov 2018 11:59:15 -0200 Subject: 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. --- ljumptab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ljumptab.h') diff --git a/ljumptab.h b/ljumptab.h index 0af997d0..9fa72a73 100644 --- a/ljumptab.h +++ b/ljumptab.h @@ -16,7 +16,7 @@ #define vmbreak vmfetch(); vmdispatch(GET_OPCODE(i)); -static void *disptab[] = { +static void *disptab[NUM_OPCODES] = { #if 0 ** you can update the following list with this command: -- cgit v1.2.3-55-g6feb