Commit 0b1008d3 authored by Simon Kelley's avatar Simon Kelley

Bad packet protection.

parent 32fc6dbe
...@@ -805,7 +805,7 @@ static int validate_rrset(time_t now, struct dns_header *header, size_t plen, in ...@@ -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) while (*name_start != '.' && *name_start != 0)
name_start++; name_start++;
if (k != 1) if (k != 1 && *name_start == '.')
name_start++; name_start++;
} }
......
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