diff options
author | Kahrl <kahrl@gmx.net> | 2015-09-29 01:55:12 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2015-09-29 01:55:12 +0200 |
commit | 0cde03254a6564eaec21603e9add4f14e6c2fe52 (patch) | |
tree | ffe8ccdecd450f8a8c419936415b3e35b8b2c529 /po/nb | |
parent | ffe291cb78fc7135034fe6456b2d7dfc3761dc52 (diff) | |
download | minetest-0cde03254a6564eaec21603e9add4f14e6c2fe52.tar.gz minetest-0cde03254a6564eaec21603e9add4f14e6c2fe52.tar.bz2 minetest-0cde03254a6564eaec21603e9add4f14e6c2fe52.zip |
Don't serialize StaticObjectList with > 65535 objects
Because the count is serialized as u16, this would cause overflow.
If minetest later deserialized a mapblock with an incorrect
static object count, it would be unable to find the NameIdMapping
(which comes after the StaticObjectList) and abort with an error
such as "Invalid block data in database: unsupported NameIdMapping
version" (issue #2610).
Diffstat (limited to 'po/nb')
0 files changed, 0 insertions, 0 deletions