Piccolo
Piccolo copied to clipboard
Save stack space while handling errors
Description This PR fixes a security vulnerability in luaG_runerror() that was cloned from lua but did not receive the security patch. The original issue was reported and fixed under https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf. This PR applies the same patch to eliminate the vulnerability.
References https://nvd.nist.gov/vuln/detail/cve-2022-33099 https://github.com/lua/lua/commit/42d40581dd919fb134c07027ca1ce0844c670daf