]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Check if logconfig is NULL before using it in isc_log_doit()
authorArаm Sаrgsyаn <aram@isc.org>
Thu, 15 Aug 2024 12:55:28 +0000 (12:55 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 15 Aug 2024 12:55:28 +0000 (12:55 +0000)
commitebd669a830307385d4aeefde2246cedbefa1fc33
tree9e13c89239dd729764f95a82741ae2295346954d
parent75021765f8d83989ae791d28807a24c7bd09d905
parent656e04f48ac16cc17ee9620492308fac0a38c903
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