diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2014-12-27 15:33:32 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-12-27 15:33:32 +0000 |
commit | 0b1008d367d44e77352134a4c5178f896f0db3e7 (patch) | |
tree | 39304eff8f33210c81cbf9cd6aff49d1a375d412 | |
parent | 32fc6dbe03569d70dd394420ceb73532cf303c33 (diff) | |
download | dnsmasq-0b1008d367d44e77352134a4c5178f896f0db3e7.tar.gz |
Bad packet protection.
-rw-r--r-- | src/dnssec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnssec.c b/src/dnssec.c index ed8cf89..026794b 100644 --- a/src/dnssec.c +++ b/src/dnssec.c @@ -805,7 +805,7 @@ static int validate_rrset(time_t now, struct dns_header *header, size_t plen, in { while (*name_start != '.' && *name_start != 0) name_start++; - if (k != 1) + if (k != 1 && *name_start == '.') name_start++; } |