network: Fix crash in ReliablePacketBuffer on mismatching packets
commitc4491165da36db5c6a3e401cd439dbaedb65c9b6
authorsfan5 <sfan5@live.de>
Thu, 15 Aug 2019 15:17:17 +0000 (15 17:17 +0200)
committersfan5 <sfan5@live.de>
Thu, 15 Aug 2019 17:18:54 +0000 (15 19:18 +0200)
tree2e95264cbc58ac163da5ce59cc7951adcf39030e
parent082066e81393618152c279cccb98e0a05a0aebea
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().
src/network/connection.cpp