]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/network: fix heap-buffer-overflow in endpoint key generation
authorOto Šťáva <oto.stava@nic.cz>
Thu, 20 Oct 2022 11:06:31 +0000 (13:06 +0200)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 25 Oct 2022 05:54:27 +0000 (07:54 +0200)
commit373f49f0813ffa3476c5f9d59f06c1cbd220d64c
treed8f53ad661b1ba408adc21e1aa95201668eebb7b
parentf56e1c0853bdc1841ca51125cb822e757cf02d9d
daemon/network: fix heap-buffer-overflow in endpoint key generation

Reproducible by listening on an interface by name, ASAN reports a
heap-buffer-overflow. This was a regression caused by !1286, which did
not account for null-terminators properly.
daemon/network.c