From 42244e1b4d1e435a069a6ee5ae1686dbf7238d27 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 6 Dec 2018 08:04:37 +0000 Subject: [PATCH] - Fix dns64 allocation in wrong region for returned internal queries. git-svn-id: file:///svn/unbound/trunk@5013 be551aaa-1e26-0410-a405-d3ace91eadb9 --- dns64/dns64.c | 2 +- doc/Changelog | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dns64/dns64.c b/dns64/dns64.c index 6c81192f1..77e689000 100644 --- a/dns64/dns64.c +++ b/dns64/dns64.c @@ -925,7 +925,7 @@ dns64_inform_super(struct module_qstate* qstate, int id, * successful or not. This lets the state machine terminate. */ if(!super_dq) { - super_dq = (struct dns64_qstate*)regional_alloc(qstate->region, + super_dq = (struct dns64_qstate*)regional_alloc(super->region, sizeof(*super_dq)); super->minfo[id] = super_dq; memset(super_dq, 0, sizeof(*super_dq)); diff --git a/doc/Changelog b/doc/Changelog index ef236f947..ddd0a2409 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +6 December 2018: Wouter + - Fix dns64 allocation in wrong region for returned internal queries. + 3 December 2018: Wouter - Fix icon, no ragged edges and nicer resolutions available, for eg. Win 7 and Windows 10 display. -- 2.47.3