From 8a8bbad0cf12f95fc7459a39a940242906c41c9d Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Thu, 27 Mar 2014 22:02:17 +0000 Subject: [PATCH] Ensure ->sentto is valid for DNSSEC forwards. Otherwise retries SEGV. --- src/forward.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/forward.c b/src/forward.c index 7a87cb3..83b55a4 100644 --- a/src/forward.c +++ b/src/forward.c @@ -853,6 +853,7 @@ void reply_query(int fd, int family, time_t now) *new = *forward; /* copy everything, then overwrite */ new->next = next; new->blocking_query = NULL; + new->sentto = server; new->rfd4 = NULL; #ifdef HAVE_IPV6 new->rfd6 = NULL;