Is it safe to set “require” function to nil to execute lua code safely?

后端 未结 0 1681
伪装坚强ぢ
伪装坚强ぢ 2021-01-24 19:56

I want to take a callback function written by the user in lua language. Before executing their code, I will add lines like this: require = nil to prevent the code

相关标签:
回答
  • 消灭零回复
提交回复
热议问题