Mitigate formspec exploits by verifying that the formspec was shown to the user by...
authorred-001 <red-001@outlook.ie>
Sun, 18 Feb 2018 21:33:42 +0000 (21:33 +0000)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 18 Feb 2018 21:33:42 +0000 (22:33 +0100)
commit4bb41a19dc74fa31cb021dc3b5622814d67fbd6f
tree6feeb93fb40c041907250e045cf54643c1b3821d
parent63bcd3303622d52770fc54a4cbff07206f77d8cf
Mitigate formspec exploits by verifying that the formspec was shown to the user by the server. (#6878)

This doesn't check the fields in anyway whatsoever so it should only be seen as a way to mitigate exploits, a last line of defense to make it harder to exploit bugs in mods, not as a reason to not do all the usually checks.
src/network/serverpackethandler.cpp
src/server.cpp
src/server.h