DELTA 435741 0 97 SVN>N \c[PORTREVISION= 1ENDREP DELTA SVNfhff--- src/ldebug.c.orig 2016-10-19 12:32:10 UTC +++ src/ldebug.c @@ -653,6 +653,7 @@ l_noret luaG_runerror (lua_State *L, const char *fmt, CallInfo *ci = L->ci; const char *msg; va_list argp; + luaC_checkGC(L); /* error message uses memory */ va_start(argp, fmt); msg = luaO_pushvfstring(L, fmt, argp); /* format message */ va_end(argp); ENDREP DELTA SVNcecc--- src/lgc.c.orig 2016-12-22 13:08:50 UTC +++ src/lgc.c @@ -643,8 +643,9 @@ static void clearkeys (global_State *g, GCObject *l, G for (n = gnode(h, 0); n < limit; n++) { if (!ttisnil(gval(n)) && (iscleared(g, gkey(n)))) { setnilvalue(gval(n)); /* remove value ... */ - removeentry(n); /* and remove entry from table */ } + if (ttisnil(gval(n))) /* is entry empty? */ + removeentry(n); /* remove entry from table */ } } } ENDREP DELTA SVNDgDDx^Un0S@I6R92d nنD/ c .pmPϋ9iZ=KYA\e-|~L8>le7v%ct$v`حPmsI7<43M?=`( {*]u) Xs J(H@uɠʢGN.gZukr9=Y .-~nnGj'Mrs"jFhU E>&|ؓJ8Ї4L AϟZ$Iˎ.-IJ:dp*?_$\;