]> git.lizzy.rs Git - dragonfireclient.git/commit
Validate staticdata and object property length limits (#11511)
authorsfan5 <sfan5@live.de>
Thu, 19 Aug 2021 18:14:22 +0000 (20:14 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Aug 2021 18:14:22 +0000 (20:14 +0200)
commite7b05beb7d90b4ea53ef13da86ff8b8ccde1193b
treeb87dfaf74cc8443298ad0e00a0381a88ce7c5ade
parent1320c51d8e15409544cba970a97b167a37513bae
Validate staticdata and object property length limits (#11511)

Some games provide users with enough freedom to create items
with metadata longer than 64KB, preventing this from causing
issues is on them but we'll still do the minimum not to abort
the server if this happens.
src/object_properties.cpp
src/object_properties.h
src/script/lua_api/l_object.cpp
src/staticobject.cpp