From: Jonathan McDowell Date: Mon, 22 Aug 2016 16:35:02 +0000 (+0100) Subject: Throw away invalid packet data when parsing packets X-Git-Tag: onak-0.5.0~4 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=5d859953e393a2539e67df3ce73798e7029cf5b9;hp=5d859953e393a2539e67df3ce73798e7029cf5b9;p=onak.git Throw away invalid packet data when parsing packets We would detect that a packet wasn't correctly formed, and handle requests to try to allocation too much memory that failed, when parsing keys. However the old partial packet structure was still left around. If we hit an error when parsing an incoming packet make sure it's fully cleaned up. ---