mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-14 08:13:12 -05:00
- Fix ldns_wire2str_rdata_scan for malformed RRs.
his line, and those below, will be ignored-- M trunk/doc/Changelog M trunk/sldns/wire2str.c git-svn-id: file:///svn/unbound/trunk@3507 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
b4a7e9ad8d
commit
1d4330b1ff
2 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
15 October 2015: Wouter
|
||||
- Fix segfault in the dns64 module in the formaterror error path.
|
||||
- Fix sldns_wire2str_rdata_scan for malformed RRs.
|
||||
|
||||
14 October 2015: Wouter
|
||||
- ANY responses include DNAME records if present, as per Evan Hunt's
|
||||
|
|
|
|||
|
|
@ -697,6 +697,9 @@ int sldns_wire2str_rdata_scan(uint8_t** d, size_t* dlen, char** s,
|
|||
}
|
||||
w += n;
|
||||
}
|
||||
if(*dlen != 0) {
|
||||
goto failed;
|
||||
}
|
||||
return w;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue