[OpenSIPS-Devel] [OpenSIPS/opensips] 3cebee: tls_mgm: fix a cleanup crash when failing to creat...
Vlad Pătrașcu
noreply at github.com
Fri Jun 12 16:37:42 EST 2020
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 3cebeed779fa8f5b40d761321f5476cbab4ad84a
https://github.com/OpenSIPS/opensips/commit/3cebeed779fa8f5b40d761321f5476cbab4ad84a
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M modules/tls_mgm/tls_mgm.c
Log Message:
-----------
tls_mgm: fix a cleanup crash when failing to create a SSL_CTX
(cherry picked from commit c6ac01258b61608b06ca400815e3b89302724107)
Commit: 298bf6b31d8abbe26a62cb615626453893da031f
https://github.com/OpenSIPS/opensips/commit/298bf6b31d8abbe26a62cb615626453893da031f
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2020-06-12 (Fri, 12 Jun 2020)
Changed paths:
M modules/cachedb_mongodb/Makefile
M modules/cachedb_mongodb/cachedb_mongodb.c
A modules/cachedb_mongodb/ssl_tweaks.c
A ssl_init_tweaks.h
Log Message:
-----------
cachedb_mongodb: fix crashes when loading module along with tls_mgm
Loading the cachedb_mongodb module causes the openssl library to be
initialized in the pre-daemon process, by the mongoc library's
constuctor, before tls_mgm gets the chance to do its own initialization
in the attendant process.
This commit overwrites the openssl functions used by the mongoc library
in order to actually skip the initialization and leave it to tls_mgm.
Related to #2091
(cherry picked from commit a3e87277f275d2b26a3f1472e78a07baea9de85c)
Compare: https://github.com/OpenSIPS/opensips/compare/1856155a6c20...298bf6b31d8a
More information about the Devel
mailing list