mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
SCT: another memory leak in SCT parsing.
This commit is contained in:
parent
e1d42ec99c
commit
7a1ec3501d
2 changed files with 3 additions and 2 deletions
|
@ -213,6 +213,7 @@ void file_analysis::X509Common::ParseSignedCertificateTimestamps(X509_EXTENSION*
|
|||
reporter->Error("X509::ParseSignedCertificateTimestamps could not parse SCT");
|
||||
}
|
||||
|
||||
M_ASN1_OCTET_STRING_free(inner);
|
||||
OPENSSL_free(ext_val_second_pointer);
|
||||
|
||||
interp->FlowEOF();
|
||||
|
|
|
@ -704,7 +704,7 @@ sct_verify_err:
|
|||
EVP_MD_CTX_destroy(mdctx);
|
||||
if (key)
|
||||
EVP_PKEY_free(key);
|
||||
cerr << errstr << endl;
|
||||
|
||||
reporter->Error("%s", errstr.c_str());
|
||||
return new Val(0, TYPE_BOOL);
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue