Fix a possible crash when sending the HUP signal.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 20 Oct 2009 20:14:47 +0000 (22:14 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 20 Oct 2009 20:14:47 +0000 (22:14 +0200)
When the HUP signal is sent while some outgoing connections have not been made
yet, or are being retried, a NULL pointer could be dereferenced resulting in
tinc crashing. We fix this by more careful handling of outgoing_ts, and by
deleting all connections that have not been fully activated yet at the HUP
signal is received.


No differences found