mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix spin-crash in new CNAME code (b59a5c2567)
Thanks to Tore Anderson for finding this.
This commit is contained in:
@@ -1389,8 +1389,9 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
|
|||||||
anscount++;
|
anscount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
strcpy(name, cname_target);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strcpy(name, cname_target);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (qtype == T_TXT || qtype == T_ANY)
|
if (qtype == T_TXT || qtype == T_ANY)
|
||||||
|
|||||||
Reference in New Issue
Block a user