- 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:
Wouter Wijngaards 2015-10-15 09:51:30 +00:00
parent b4a7e9ad8d
commit 1d4330b1ff
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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;
}