mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
decide not to overwrite tostring
tostring({}) and string.format("%s", {}) give you pointers. (see lj_strfmt_obj) this is not very critical, but attacks could be made harder if we change this. the effort of overwriting is not worth it I think right now
This commit is contained in:
parent
21155488eb
commit
a79e337d7a
1 changed files with 0 additions and 2 deletions
|
@ -486,8 +486,6 @@ void ScriptApiSecurity::initializeSecuritySSCSM()
|
|||
|
||||
// Set the environment to the one we created earlier
|
||||
setLuaEnv(L, thread);
|
||||
|
||||
// TODO: tostring({})
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue