- Fix for crash in dns64 module if response is null.

git-svn-id: file:///svn/unbound/trunk@5025 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-12-12 16:03:05 +00:00
parent a97bfa08ec
commit 023411f975
2 changed files with 4 additions and 0 deletions

View file

@ -628,6 +628,7 @@ handle_event_moddone(struct module_qstate* qstate, int id)
/* Store the response in cache. */
if ( (!iq || !iq->started_no_cache_store) &&
qstate->return_msg && qstate->return_msg->rep &&
!dns_cache_store(qstate->env, &qstate->qinfo, qstate->return_msg->rep,
0, 0, 0, NULL, qstate->query_flags))
log_err("out of memory");

View file

@ -1,3 +1,6 @@
12 December 2018: Wouter
- Fix for crash in dns64 module if response is null.
10 December 2018: Wouter
- Fix config parser memory leaks.
- ip-ratelimit-factor of 1 allows all traffic through, instead of the