diff options
author | Tom Callaway <spot@fedoraproject.org> | 2017-10-29 20:33:46 -0400 |
---|---|---|
committer | Tom Callaway <spot@fedoraproject.org> | 2017-10-29 20:33:46 -0400 |
commit | d78b71f63f4f2a6ce157bf565b628c936919b8fe (patch) | |
tree | bfc99c21da5ead48e001d129447912d1104bdf35 /lua-5.3.4-bug4.patch | |
parent | 0b6e19e40a24afd8ca15886a1c52d2e504a3ec85 (diff) | |
download | lua-d78b71f63f4f2a6ce157bf565b628c936919b8fe.tar.gz lua-d78b71f63f4f2a6ce157bf565b628c936919b8fe.tar.xz lua-d78b71f63f4f2a6ce157bf565b628c936919b8fe.zip |
apply known upstream bugfixes
Diffstat (limited to 'lua-5.3.4-bug4.patch')
-rw-r--r-- | lua-5.3.4-bug4.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua-5.3.4-bug4.patch b/lua-5.3.4-bug4.patch new file mode 100644 index 0000000..d1a3951 --- /dev/null +++ b/lua-5.3.4-bug4.patch @@ -0,0 +1,11 @@ +diff -up lua-5.3.4/src/ldebug.c.bug4 lua-5.3.4/src/ldebug.c +--- lua-5.3.4/src/ldebug.c.bug4 2017-08-02 16:05:36.985671687 -0400 ++++ lua-5.3.4/src/ldebug.c 2017-08-02 16:05:55.257256062 -0400 +@@ -653,6 +653,7 @@ l_noret luaG_runerror (lua_State *L, con + 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); |