From: W.C.A. Wijngaards Date: Wed, 20 Nov 2019 13:02:58 +0000 (+0100) Subject: - Fix Useless memset() in validator, reported by X41 D-Sec. X-Git-Tag: release-1.9.6rc1~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcd9b34bb58368bd39fa1af3516221a299816116;p=thirdparty%2Funbound.git - Fix Useless memset() in validator, reported by X41 D-Sec. --- diff --git a/doc/Changelog b/doc/Changelog index 5ae98c560..d46bf57e9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/validator/autotrust.c b/validator/autotrust.c index da7078a19..11b600a51 100644 --- a/validator/autotrust.c +++ b/validator/autotrust.c @@ -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); }