From: Arаm Sаrgsyаn Date: Thu, 15 Aug 2024 12:55:28 +0000 (+0000) Subject: fix: dev: Check if logconfig is NULL before using it in isc_log_doit() X-Git-Tag: v9.21.1~45 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=ebd669a830307385d4aeefde2246cedbefa1fc33;p=thirdparty%2Fbind9.git fix: dev: Check if logconfig is NULL before using it in isc_log_doit() Check if 'lctx->logconfig' is NULL before using it in isc_log_doit(), because it's possible that isc_log_destroy() was already called, e.g. when a 'call_rcu' function wants to log a message during shutdown. Closes #4842 Merge branch '4842-shutdown-crash-in-isc_log_doit' into 'main' Closes #4842 See merge request isc-projects/bind9!9297 --- ebd669a830307385d4aeefde2246cedbefa1fc33