From: Guus Sliepen Date: Sat, 2 Apr 2022 13:39:08 +0000 (+0200) Subject: Improve handling invitation read errors. X-Git-Url: https://www.tinc-vpn.org/git/browse?a=commitdiff_plain;h=6daf3f04fe51246f2bb7b0e3d369fec7d22d2d70;hp=6daf3f04fe51246f2bb7b0e3d369fec7d22d2d70;p=tinc Improve handling invitation read errors. Fix a file descriptor leak when something goes wrong while reading an invitation file. Also check that we read it in full before committing. Found by cppcheck. ---