WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
381 stars 29 forks source link

Stop metatables from being overwritten/read from #184

Closed RadiantUwU closed 11 months ago

RadiantUwU commented 11 months ago

Protect your metatables.

Trey2k commented 11 months ago

While this is not a security vulnerability, as the meta table we use works off the context of the object it is provided. So swapping out meta methods from one object to another would have not practical difference. I see nothing wrong with locking out metatables like this.