mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-05 09:08:04 -05:00
Fix segmentation fault
This commit is contained in:
parent
c740b097df
commit
6c8ec4427a
@ -1023,7 +1023,6 @@ static SpcLink *get_page_hash_link(int phtype, char *indata,
|
|||||||
l = i2d_ASN1_SET_ANY(aset, NULL);
|
l = i2d_ASN1_SET_ANY(aset, NULL);
|
||||||
tmp = p = OPENSSL_malloc(l);
|
tmp = p = OPENSSL_malloc(l);
|
||||||
l = i2d_ASN1_SET_ANY(aset, &tmp);
|
l = i2d_ASN1_SET_ANY(aset, &tmp);
|
||||||
SpcAttributeTypeAndOptionalValue_free(aval);
|
|
||||||
ASN1_TYPE_free(taval);
|
ASN1_TYPE_free(taval);
|
||||||
sk_ASN1_TYPE_free(aset);
|
sk_ASN1_TYPE_free(aset);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user