You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
473 B

--- a/src/lvm.c.org 2013-04-12 20:48:47.000000000 +0200
+++ b/src/lvm.c 2014-09-19 07:40:19.000000000 +0200
@@ -539,6 +539,10 @@
newframe: /* reentry point when frame changes (call/return) */
lua_assert(ci == L->ci);
cl = clLvalue(ci->func);
+ if (cl == NULL) {
+ printf("#####[liblua: src/lvm.c %s:%d] cl: %p, ci->func: %p\n", __FUNCTION__, __LINE__, cl, ci->func);
+ return;
+ }
k = cl->p->k;
base = ci->u.l.base;
/* main loop of interpreter */