From 6c8ec4427a0f27c145973450def818e35d4436f6 Mon Sep 17 00:00:00 2001 From: Jemmy Wang Date: Wed, 26 Jun 2019 18:56:22 +0800 Subject: [PATCH] Fix segmentation fault --- osslsigncode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/osslsigncode.c b/osslsigncode.c index 5722d54..5f8d467 100644 --- a/osslsigncode.c +++ b/osslsigncode.c @@ -1023,7 +1023,6 @@ static SpcLink *get_page_hash_link(int phtype, char *indata, l = i2d_ASN1_SET_ANY(aset, NULL); tmp = p = OPENSSL_malloc(l); l = i2d_ASN1_SET_ANY(aset, &tmp); - SpcAttributeTypeAndOptionalValue_free(aval); ASN1_TYPE_free(taval); sk_ASN1_TYPE_free(aset);