]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix Useless memset() in validator, reported by X41 D-Sec.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 20 Nov 2019 13:02:58 +0000 (14:02 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 20 Nov 2019 13:02:58 +0000 (14:02 +0100)
doc/Changelog
validator/autotrust.c

index 5ae98c560fdc2a2b76fc95d39620f3725b2cec5a..d46bf57e96aac4aec8a8728ddf0993f9f833d615 100644 (file)
@@ -32,6 +32,7 @@
        - Fixed Compat Code Diverging from Upstream, reported by X41 D-Sec.
        - Fix compile with --enable-alloc-checks, reported by X41 D-Sec.
        - Fix Terminating Quotes not Written, reported by X41 D-Sec.
+       - Fix Useless memset() in validator, reported by X41 D-Sec.
 
 19 November 2019: Wouter
        - Fix CVE-2019-18934, shell execution in ipsecmod.
index da7078a197ab25cf865d24cf2dc34588b3e8f863..11b600a511f428ae938664469d2235b4cec705cb 100644 (file)
@@ -86,7 +86,6 @@ void autr_global_delete(struct autr_global_data* global)
        if(!global)
                return;
        /* elements deleted by parent */
-       memset(global, 0, sizeof(*global));
        free(global);
 }