Commit 8a8bbad0 authored by Simon Kelley's avatar Simon Kelley

Ensure ->sentto is valid for DNSSEC forwards. Otherwise retries SEGV.

parent fec216df
...@@ -853,6 +853,7 @@ void reply_query(int fd, int family, time_t now) ...@@ -853,6 +853,7 @@ void reply_query(int fd, int family, time_t now)
*new = *forward; /* copy everything, then overwrite */ *new = *forward; /* copy everything, then overwrite */
new->next = next; new->next = next;
new->blocking_query = NULL; new->blocking_query = NULL;
new->sentto = server;
new->rfd4 = NULL; new->rfd4 = NULL;
#ifdef HAVE_IPV6 #ifdef HAVE_IPV6
new->rfd6 = NULL; new->rfd6 = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment