]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commita6b44a6007cf8b00dde42884d1a93ab165feb895
tree8961b65df9777f6a26384f1783621d866a245ec3
parent774e08dee320dc73daa5fbb2bb538e12fd47bcbd
parent2c608705274df6ac0737a1444992c39ab2562011
fix: dev: Check validator name when adding EDE text

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