mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-29 21:18:38 +00:00
Ensure ->sentto is valid for DNSSEC forwards. Otherwise retries SEGV.
This commit is contained in:
1 parent
fec216df32
commit
8a8bbad0cf
1 file changed
+1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user