mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +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
439ac1d192
commit
8170fec456
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
|
// Set the environment to the one we created earlier
|
||||||
setLuaEnv(L, thread);
|
setLuaEnv(L, thread);
|
||||||
|
|
||||||
// TODO: tostring({})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue