diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2018-12-11 13:46:56 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2018-12-11 13:46:56 +0000 |
commit | 43bf09e0b4cb39c4200a61f231d356f710cce9c0 (patch) | |
tree | efd6b67eca48ca4fcb56c23b64ee14a465fbcf0b /usr.sbin/unbound | |
parent | 8622e3ebe720542c7f4a91cd37be39def1fd4b9f (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.c | 2 |
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)); |