summaryrefslogtreecommitdiff
path: root/usr.sbin/unbound
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2018-12-11 13:46:56 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2018-12-11 13:46:56 +0000
commit43bf09e0b4cb39c4200a61f231d356f710cce9c0 (patch)
treeefd6b67eca48ca4fcb56c23b64ee14a465fbcf0b /usr.sbin/unbound
parent8622e3ebe720542c7f4a91cd37be39def1fd4b9f (diff)
Fix dns64 allocation in wrong region for returned internal queries.
(This is the only code change in upstream release 1.8.3).
Diffstat (limited to 'usr.sbin/unbound')
-rw-r--r--usr.sbin/unbound/dns64/dns64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/unbound/dns64/dns64.c b/usr.sbin/unbound/dns64/dns64.c
index 6c81192f117..77e689000ef 100644
--- a/usr.sbin/unbound/dns64/dns64.c
+++ b/usr.sbin/unbound/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));