diff options
author | rubenwardy <rw@rubenwardy.com> | 2021-10-25 21:36:28 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2021-10-25 21:39:40 +0100 |
commit | 8dfeba02b9f084ddd52090ccd906534200f468b3 (patch) | |
tree | 5eaed2fe714279516718a652b547cdc82a34f3d9 /builtin | |
parent | 4ee643f472067356599946345f48fe7f743e6f38 (diff) | |
download | minetest-8dfeba02b9f084ddd52090ccd906534200f468b3.tar.gz minetest-8dfeba02b9f084ddd52090ccd906534200f468b3.tar.bz2 minetest-8dfeba02b9f084ddd52090ccd906534200f468b3.zip |
Fix crash on hypertext[] with not enough parts
The length check used < rather than <=, disabling the check when the formspec version
matches the client's FORMSPEC_API_VERSION.
Additionally, it was possible to have fewer parts than required if the formspec version
was greater than the client's FORMSPEC_API_VERSION.
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions