[openssl/openssl] 3361f6: Avoid crashing if CONF_modules_unload() is called ...

Tomas Mraz noreply at reply.github.openssl.org
Fri Jul 1 09:21:34 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 3361f685fcee8b47920a136041f545c41a4afb3f
      https://github.openssl.org/openssl/openssl/commit/3361f685fcee8b47920a136041f545c41a4afb3f
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

  Changed paths:
    M crypto/conf/conf_mod.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18673)

(cherry picked from commit d840f07bcdfc3910de5aa327a245866a67f94799)




More information about the openssl-commits mailing list