]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the invalid condition variable
authorOndřej Surý <ondrej@sury.org>
Tue, 9 Feb 2021 12:25:52 +0000 (13:25 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 26 Feb 2021 16:07:09 +0000 (17:07 +0100)
commit6883d4bd088933c662667aaae9f446e964c8ccaf
tree143cce321bdedf70ed88e565850a1fe1b811bfd1
parent6da91bf16c3d9be0ad9c009bd0e960ffc0743919
Fix the invalid condition variable

Although harmless, the memmove() in tlsdns and tcpdns was guarded by a
current message length variable that was always bigger than 0 instead of
correct current buffer length remainder variable.
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/tlsdns.c