- 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:
Wouter Wijngaards 2013-04-09 07:38:24 +00:00
parent f4ac05f8fe
commit f9137645fb
3 changed files with 4 additions and 1 deletions

View file

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

View file

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

View file

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