From: Etienne Dechamps Date: Sun, 8 Mar 2015 17:32:39 +0000 (+0000) Subject: Don't abort() willy-nilly in SPTPS code. X-Git-Tag: release-1.1pre12~197^2 X-Git-Url: http://tinc-vpn.org/git/browse?a=commitdiff_plain;h=2e7f68ad2b51648b89c4b5c61aeb4cec67c2fbbb;hp=2e7f68ad2b51648b89c4b5c61aeb4cec67c2fbbb;p=tinc Don't abort() willy-nilly in SPTPS code. If receive_handshake() or the receive_record() user callback returns an error, sptps_receive_data_datagram() crashes the entire process. This is heavy-handed, makes tinc very brittle to certain failures (i.e. unexpected packets), and is inconsistent with the rest of SPTPS code. ---