diff options
author | savilli <78875209+savilli@users.noreply.github.com> | 2022-09-16 13:20:14 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-09-16 19:18:51 +0200 |
commit | 1e0520074c24f01a538b376377b178e0ee3d1355 (patch) | |
tree | 5b49073b94e2c59777b298975316d96328788f7e /src/tool.cpp | |
parent | b9f6832347e5a0ca9e10f0d45b2eb1a4c5d82d28 (diff) | |
download | minetest-1e0520074c24f01a538b376377b178e0ee3d1355.tar.gz minetest-1e0520074c24f01a538b376377b178e0ee3d1355.tar.bz2 minetest-1e0520074c24f01a538b376377b178e0ee3d1355.zip |
Fix UAF in craft recipes (#12763)
If you call minetest.clear_craft after minetest.register_alias_force, the craft definition reference may not be removed from m_output_craft_definitions leading to UAF.
Diffstat (limited to 'src/tool.cpp')
0 files changed, 0 insertions, 0 deletions