mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #677 Fix CNAME corresponding to a DNAME was checked incorrectly
and was therefore always synthesized (thanks to Valentin Dietrich). git-svn-id: file:///svn/unbound/trunk@3434 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6e65f728cc
commit
0884d263ef
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
22 June 2015: Wouter
|
||||||
|
- Fix #677 Fix CNAME corresponding to a DNAME was checked incorrectly
|
||||||
|
and was therefore always synthesized (thanks to Valentin Dietrich).
|
||||||
|
|
||||||
4 June 2015: Wouter
|
4 June 2015: Wouter
|
||||||
- RFC 7553 RR type URI support, is now enabled by default.
|
- RFC 7553 RR type URI support, is now enabled by default.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -372,7 +372,7 @@ scrub_normalize(sldns_buffer* pkt, struct msg_parse* msg,
|
||||||
/* check next cname */
|
/* check next cname */
|
||||||
uint8_t* t = NULL;
|
uint8_t* t = NULL;
|
||||||
size_t tlen = 0;
|
size_t tlen = 0;
|
||||||
if(!parse_get_cname_target(rrset, &t, &tlen))
|
if(!parse_get_cname_target(nx, &t, &tlen))
|
||||||
return 0;
|
return 0;
|
||||||
if(dname_pkt_compare(pkt, alias, t) == 0) {
|
if(dname_pkt_compare(pkt, alias, t) == 0) {
|
||||||
/* it's OK and better capitalized */
|
/* it's OK and better capitalized */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue