Skip to content

Commit

Permalink
hotfix(lua5.1): Apply patch for CVE-2014-5461
Browse files Browse the repository at this point in the history
See #2
  • Loading branch information
NTBBloodbath authored and natecraddock committed Feb 15, 2023
1 parent 79b1bdb commit 518e267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lua-5.1.5/src/ldo.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) {
CallInfo *ci;
StkId st, base;
Proto *p = cl->p;
luaD_checkstack(L, p->maxstacksize);
luaD_checkstack(L, p->maxstacksize + p->numparams);
func = restorestack(L, funcr);
if (!p->is_vararg) { /* no varargs? */
base = func + 1;
Expand Down

0 comments on commit 518e267

Please sign in to comment.