The first commit prevents going over listen_socket on tincd deinitialization.
The easiest way to trigger this is to start tincd with LISTEN_FDS=9 (see additions to the test suite).
The second is a fix for what looks like another false-positive (although I guess it's possible in a multi-threaded program?). It happens with clang-tidy 14.
The first commit prevents going over
listen_socket
on tincd deinitialization.The easiest way to trigger this is to start tincd with
LISTEN_FDS=9
(see additions to the test suite).The second is a fix for what looks like another false-positive (although I guess it's possible in a multi-threaded program?). It happens with clang-tidy 14.