+5
−3
Loading
WARNING! GitLab maintenance operation scheduled for this Friday between 09:00 and 16:00 (CET). During this time window, GitLab will be unavailable, and any data entered during this period may be lost. Thank you in advance for your understanding.
This fixes a memory leak that can occur whilst duplicating a BIO chain if
the call to CRYPTO_dup_ex_data() fails. It also fixes a second memory leak
where if a failure occurs after successfully creating the first BIO in the
chain, then the beginning of the new chain was not freed.
With thanks to the Open Crypto Audit Project for reporting this issue.
Reviewed-by:
Stephen Henson <steve@openssl.org>
Conflicts:
crypto/bio/bio_lib.c