]> git.ipfire.org Git - thirdparty/bind9.git/commit
Process canceled/shut down results in validate_dnskey_dsset_done()
authorAram Sargsyan <aram@isc.org>
Mon, 2 Sep 2024 14:44:05 +0000 (14:44 +0000)
committerAram Sargsyan <aram@isc.org>
Mon, 2 Sep 2024 15:40:30 +0000 (15:40 +0000)
commitd85918aebf8e0ce0d19cc44df3bdf04cfae3b475
tree381be3c7faccdb4957a4a9766d5e2617395c95ae
parent8a09d54d6befaf3e35a59c48b926da893303a375
Process canceled/shut down results in validate_dnskey_dsset_done()

When a validator is already shut down, val->name becomes NULL. We
need to process and keep the ISC_R_CANCELED or ISC_R_SHUTTINGDOWN
result code before calling validate_async_done(), otherwise, when it
is called with the hardcoded DNS_R_NOVALIDSIG result code, it can
cause an assetion failure when val->name (being NULL) is used in
proveunsecure().
lib/dns/validator.c