mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-20 13:42:54 -05:00
fix crash for hauke
git-svn-id: file:///svn/unbound/trunk@1933 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
c68aebb3d7
commit
1d2c4f70fa
1 changed files with 1 additions and 1 deletions
|
|
@ -1430,7 +1430,7 @@ val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo,
|
|||
|
||||
msg = neg_nsec3_proof_ds(zone, qinfo->qname, qinfo->qname_len,
|
||||
zname_labs+1, buf, rrset_cache, region, now);
|
||||
if(addsoa && !add_soa(rrset_cache, now, region, msg, zone)) {
|
||||
if(msg && addsoa && !add_soa(rrset_cache, now, region, msg, zone)) {
|
||||
lock_basic_unlock(&neg->lock);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue