From: Guus Sliepen Date: Fri, 1 Apr 2022 12:28:45 +0000 (+0200) Subject: Prevent underflow when sending UDP probes. X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=ca7502b6de1e1ae49a62ad6b7a7ae8b760fa51ff;hp=ca7502b6de1e1ae49a62ad6b7a7ae8b760fa51ff;p=tinc Prevent underflow when sending UDP probes. Make sure send_udp_probe_packet() never tries to send a packet smaller than MIN_PROBE_SIZE, otherwise length calculation could potentially wrap. Fixes #351 on GitHub. ---