]> git.ipfire.org Git - thirdparty/openssl.git/commit
Avoid crashing if CONF_modules_unload() is called after OPENSSL_cleanup()
authorTomas Mraz <tomas@openssl.org>
Tue, 28 Jun 2022 15:37:39 +0000 (17:37 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 1 Jul 2022 09:20:51 +0000 (11:20 +0200)
commitd840f07bcdfc3910de5aa327a245866a67f94799
tree638c017b776ab9e686e5c37cdaed2eee72355943
parent30b2c3592e8511b60d44f93eb657a1ecb3662c08
Avoid crashing if CONF_modules_unload() is called after OPENSSL_cleanup()

Although this is basically an incorrect API call it was not crashing
before and it might happen inadvertently if CONF_modules_unload()
is called from a destructor for example.

Fixes #18669

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18673)
crypto/conf/conf_mod.c