bullet3
bullet3 copied to clipboard
Fix: Potential Vulnerability in Cloned Function
Description This PR fixes a security vulnerability in luaD_shrinkstack() 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/6298903e35217ab69c279056f925fb72900ce0b7. This PR applies the same patch to eliminate the vulnerability.
References https://nvd.nist.gov/vuln/detail/CVE-2020-15888 https://github.com/lua/lua/commit/6298903e35217ab69c279056f925fb72900ce0b7