]> the.earth.li Git - onak.git/commitdiff
Throw away invalid packet data when parsing packets
authorJonathan McDowell <noodles@earth.li>
Mon, 22 Aug 2016 16:35:02 +0000 (17:35 +0100)
committerJonathan McDowell <noodles@earth.li>
Mon, 22 Aug 2016 16:35:02 +0000 (17:35 +0100)
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.


No differences found