]> git.ipfire.org Git - thirdparty/bind9.git/commit
check for val->name == NULL when adding EDE text
authorEvan Hunt <each@isc.org>
Fri, 1 May 2026 18:12:54 +0000 (11:12 -0700)
committerEvan Hunt <each@isc.org>
Wed, 6 May 2026 20:47:43 +0000 (20:47 +0000)
commit2c608705274df6ac0737a1444992c39ab2562011
tree8961b65df9777f6a26384f1783621d866a245ec3
parent774e08dee320dc73daa5fbb2bb538e12fd47bcbd
check for val->name == NULL 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 to the response containing
val->name in the extra text.

`validator_addede()` now checks whether the name is NULL before
trying to add it to the extra text.
lib/dns/validator.c