Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lua: implement our own load() instead of monkey-patching Lua code
Monkey-patching has multiple problems. The biggest problem for a security fix like this is that it's way too easy to forget to re-apply when we update Lua to a newer version. Instead, we now have the implementation of load() under our control and can update Lua without risk of reintroducing CVE-2018-1999023. (cherry-picked from commit 52ae31e)
- Loading branch information
Showing
2 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters