]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix dns64 allocation in wrong region for returned internal queries.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Dec 2018 08:04:37 +0000 (08:04 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 6 Dec 2018 08:04:37 +0000 (08:04 +0000)
git-svn-id: file:///svn/unbound/trunk@5013 be551aaa-1e26-0410-a405-d3ace91eadb9

dns64/dns64.c
doc/Changelog

index 6c81192f117a26f85694c9e506ef9b40e02c57b4..77e689000ef39671f2964d936046a4e0c0389761 100644 (file)
@@ -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));
index ef236f947577e1c1a4a61c678bf775fa526c4421..ddd0a240992bdf4994153c2c20f2eb7a8b0d5509 100644 (file)
@@ -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.