mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-17 10:59:36 +00:00
Skip trailing \0 in domain name.
This commit is contained in:
1 parent
970ce22b68
commit
c7a93f6e4e
1 file changed
+1
@@ -99,6 +99,7 @@ static int extract_name_no_compression(unsigned char *rr, int maxlen, char *buf)
|
||||
}
|
||||
*buf++ = '.';
|
||||
}
|
||||
rr++;
|
||||
*buf = 0;
|
||||
if (rr == end)
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user