mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
fixup iterator
git-svn-id: file:///svn/unbound/trunk@4458 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
dc2e0ec3b6
commit
9ae592209f
1 changed files with 1 additions and 1 deletions
|
|
@ -3274,7 +3274,7 @@ chunk_rrlist_gonext(struct auth_chunk** rr_chunk, int* rr_num,
|
|||
return;
|
||||
while(*rr_chunk) {
|
||||
/* move within this chunk */
|
||||
if((*rr_chunk)->len < LDNS_HEADER_SIZE &&
|
||||
if((*rr_chunk)->len >= LDNS_HEADER_SIZE &&
|
||||
(*rr_num)+1 < (int)LDNS_ANCOUNT((*rr_chunk)->data)) {
|
||||
(*rr_num) += 1;
|
||||
*rr_pos = rr_nextpos;
|
||||
|
|
|
|||
Loading…
Reference in a new issue