diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2014-03-27 22:02:17 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-03-27 22:02:17 +0000 |
commit | 8a8bbad0cf12f95fc7459a39a940242906c41c9d (patch) | |
tree | 37c61d1dbcc0218b175cf5a97a25fb53d14f9479 | |
parent | fec216df326b380fcf10e99c49251a45c3234ae4 (diff) | |
download | dnsmasq-8a8bbad0cf12f95fc7459a39a940242906c41c9d.tar.gz |
Ensure ->sentto is valid for DNSSEC forwards. Otherwise retries SEGV.
-rw-r--r-- | src/forward.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |