]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix a bug in dns_tkey_processquery()
authorAram Sargsyan <aram@isc.org>
Fri, 20 Feb 2026 11:18:52 +0000 (11:18 +0000)
committerMichał Kępień <michal@isc.org>
Fri, 13 Mar 2026 12:38:07 +0000 (13:38 +0100)
commit172f5496ba9f1e890bfda25b85b92f079de68f37
tree5d42a7b325dc6fc352fd41d0135f5c948e15755f
parentab77b3dffa343f88e36d24571dc2b142a65f8f4b
Fix a bug in dns_tkey_processquery()

The 'keyname' variable could be used in the add_rdata_to_list()
call without being initialized. Make sure that 'keyname' is non-NULL
for all the cases that do not jump to the 'cleanup:' label.
lib/dns/tkey.c