mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix crash in previous private address fixup of 22 March.
git-svn-id: file:///svn/unbound/trunk@2880 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
f4ac05f8fe
commit
f9137645fb
3 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
9 April 2013: Wouter
|
||||
- updated iana portlist.
|
||||
- Fix crash in previous private address fixup of 22 March.
|
||||
|
||||
28 March 2013: Wouter
|
||||
- Make reverse zones easier by documenting the nodefault statements
|
||||
|
|
|
|||
|
|
@ -225,7 +225,8 @@ remove_rr(const char* str, ldns_buffer* pkt, struct rrset_parse* rrset,
|
|||
rrset->rr_last = prev;
|
||||
rrset->rr_count --;
|
||||
rrset->size -= (*rr)->size;
|
||||
(*rr) = (*rr)->next;
|
||||
/* rr struct still exists, but is unlinked, so that in the for loop
|
||||
* the rr->next works fine to continue. */
|
||||
return rrset->rr_count == 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
1
testdata/iter_privaddr.rpl
vendored
1
testdata/iter_privaddr.rpl
vendored
|
|
@ -173,6 +173,7 @@ toss.example.com. IN A
|
|||
SECTION ANSWER
|
||||
toss.example.com. IN A 10.20.30.40
|
||||
toss.example.com. IN A 1.2.3.4
|
||||
toss.example.com. IN A 10.20.30.41
|
||||
SECTION AUTHORITY
|
||||
example.com. IN NS ns.example.com.
|
||||
SECTION ADDITIONAL
|
||||
|
|
|
|||
Loading…
Reference in a new issue