mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-19 19:51:01 +00:00
Bad packet protection.
This commit is contained in:
1 parent
32fc6dbe03
commit
0b1008d367
1 file changed
+1
-1
+1
-1
@@ -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++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user