From 242cf82f4b4337e2f0bf6e01e043fb4cee7ada66 Mon Sep 17 00:00:00 2001 From: lemoer Date: Sat, 10 Sep 2016 05:33:42 +0200 Subject: [PATCH] respondd: correctly initialize destaddr --- net/respondd/src/respondd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/respondd/src/respondd.c b/net/respondd/src/respondd.c index 6d57b9f..1d47947 100644 --- a/net/respondd/src/respondd.c +++ b/net/respondd/src/respondd.c @@ -445,7 +445,7 @@ static void accept_request(struct request_schedule *schedule, int sock, ssize_t input_bytes; struct sockaddr_in6 addr; char control[256]; - struct in6_addr destaddr; + struct in6_addr destaddr = {}; struct cmsghdr *cmsg; int64_t timeout = schedule_idle_time(schedule);