Handle invalid handshake data properly in the core
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 24 Apr 2016 19:59:15 +0000 (21:59 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 24 Apr 2016 20:15:14 +0000 (22:15 +0200)
Clients sending invalid handshake data could make the core crash
due to an unchecked pointer. This commit fixes this issue by having
the core close the socket if a peer could not be created.

Thanks to Bas Pape (Tucos) for finding this one!


No differences found