[kronosnet/kronosnet] a1b107: libknet: add comprehensive file descriptor validat...