aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_item.cpp
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2019-08-15 17:17:17 +0200
committersfan5 <sfan5@live.de>2019-08-15 19:18:54 +0200
commitc4491165da36db5c6a3e401cd439dbaedb65c9b6 (patch)
tree2e95264cbc58ac163da5ce59cc7951adcf39030e /src/script/lua_api/l_item.cpp
parent082066e81393618152c279cccb98e0a05a0aebea (diff)
downloadminetest-c4491165da36db5c6a3e401cd439dbaedb65c9b6.tar.gz
minetest-c4491165da36db5c6a3e401cd439dbaedb65c9b6.tar.bz2
minetest-c4491165da36db5c6a3e401cd439dbaedb65c9b6.zip
network: Fix crash in ReliablePacketBuffer on mismatching packets
In the error condition the exception would be thrown before m_list_size is decremented, causing a nullptr dereference in e.g. popFirst().
Diffstat (limited to 'src/script/lua_api/l_item.cpp')
0 files changed, 0 insertions, 0 deletions