mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Merge branch 'dstlib-failure-abort' into 'main'
Prevent crash on dst initialization failure See merge request isc-projects/bind9!3876
This commit is contained in:
@@ -10116,7 +10116,7 @@ named_server_destroy(named_server_t **serverp) {
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
fatal(named_server_t *server, const char *msg, isc_result_t result) {
|
fatal(named_server_t *server, const char *msg, isc_result_t result) {
|
||||||
if (server != NULL) {
|
if (server != NULL && server->task != NULL) {
|
||||||
/*
|
/*
|
||||||
* Prevent races between the OpenSSL on_exit registered
|
* Prevent races between the OpenSSL on_exit registered
|
||||||
* function and any other OpenSSL calls from other tasks
|
* function and any other OpenSSL calls from other tasks
|
||||||
|
Reference in New Issue
Block a user