unbound/unbound-1.8.3-dns64-again.patch

12 lines
448 B
Diff
Raw Normal View History

2018-12-12 17:41:37 +00:00
diff -Naur dns64/dns64.c dns64/dns64.c
--- dns64/dns64.c 2018-12-11 04:46:02.000000000 -0500
+++ dns64/dns64.c 2018-12-12 12:39:30.589057421 -0500
@@ -628,6 +628,7 @@
/* 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");