Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error handling in CRYPTO_get_ex_new_index
If an out of memory error happens when the index zero is reserved in a newly created ip->meth stack object, that reservation is not done in a second attempt, which makes various X_set_ex_data overwrite the value of X_set_app_data. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from #22149)
- Loading branch information