]> 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:39:38 +0000 (13:39 +0100)
commit163db61ebdae99894b83dbbb9bcea0485a3bc7ee
tree086f6b1052a620aa768bc4196c4df4e95d5a373e
parent527ec954563641c9922a4dd126096eef3e59f527
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.

(cherry picked from commit 172f5496ba9f1e890bfda25b85b92f079de68f37)
lib/dns/tkey.c