]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Check validator name when adding EDE text
authorEvan Hunt <each@isc.org>
Wed, 6 May 2026 20:48:11 +0000 (20:48 +0000)
committerEvan Hunt <each@isc.org>
Wed, 6 May 2026 20:48:11 +0000 (20:48 +0000)
When a validator is being shut down, the associated name
`val->name` is set to NULL.  This could cause a crash if a worker
thread subsequently added an EDE code with `val->name` in the
extra text.

`validator_addede()` now checks whether the name is NULL before
trying to add it to the extra text.

Closes #5613

Merge branch 'each-validator-log-after-shutdown' into 'main'

See merge request isc-projects/bind9!11945


Trivial merge