From a1ecc6df902879650668c5d4f9d52f222351f64b Mon Sep 17 00:00:00 2001 From: Grigorii Demidov <grigorii.demidov@nic.cz> Date: Fri, 28 Apr 2017 12:37:26 +0200 Subject: [PATCH] lib/dnssec: bugfix; libdnssec data structure was prematurely released after unsuccessful attempt of signature validation --- lib/dnssec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dnssec.c b/lib/dnssec.c index de209e2da..d2fcd91e2 100644 --- a/lib/dnssec.c +++ b/lib/dnssec.c @@ -205,7 +205,6 @@ int kr_rrset_validate_with_key(kr_rrset_validation_ctx_t *vctx, } } if (kr_check_signature(rrsig, j, (dnssec_key_t *) key, covered, trim_labels) != 0) { - kr_dnssec_key_free(&created_key); continue; } if (val_flgs & FLG_WILDCARD_EXPANSION) { -- GitLab