]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix memory accounting bug in TLSDNS
authorOndřej Surý <ondrej@isc.org>
Thu, 18 Mar 2021 17:14:38 +0000 (18:14 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 18 Mar 2021 17:14:38 +0000 (18:14 +0100)
commit1d64d4cde8a4876fbf6461c54b0ecbb8604627c9
treee5691ff8c9c889e20f843ff77b79c34b2cb95f8c
parent15f676f11146ebbafb5d83125b7e6bffdf408bc8
Fix memory accounting bug in TLSDNS

After a partial write the tls.senddata buffer would be rearranged to
contain only the data tha wasn't sent and the len part would be made
shorter, which would lead to attempt to free only part of a socket's
tls.senddata buffer.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/tlsdns.c