mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'security/topic/awelzel/205-x509-sct-leak'
* security/topic/awelzel/205-x509-sct-leak: X509Common/SCT parsing: Fix memory leak in error case
This commit is contained in:
commit
c8363743a5
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ void X509Common::ParseSignedCertificateTimestamps(X509_EXTENSION* ext)
|
|||
ext_val->length);
|
||||
if ( ! inner )
|
||||
{
|
||||
OPENSSL_free(ext_val_second_pointer);
|
||||
reporter->Error(
|
||||
"X509::ParseSignedCertificateTimestamps could not parse inner octet string");
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue