This is caused by memcpy()ing sockaddr_t structs that have only been
partially written to.
listen_socket_t *ls = data;
vpn_packet_t pkt;
char *hostname;
- sockaddr_t from;
+ sockaddr_t from = {0};
socklen_t fromlen = sizeof(from);
node_t *n;
int len;
meshlink_handle_t *mesh = loop->data;
listen_socket_t *l = data;
connection_t *c;
- sockaddr_t sa;
+ sockaddr_t sa = {0};
int fd;
socklen_t len = sizeof(sa);
sockaddr_t str2sockaddr(const char *address, const char *port) {
struct addrinfo *ai;
- sockaddr_t result;
+ sockaddr_t result = {0};
int err;
struct addrinfo hint = {