]> git.ipfire.org Git - thirdparty/bind9.git/commit
Put up additional safe guards to not use inactive/closed tcpdns socket
authorOndřej Surý <ondrej@sury.org>
Mon, 2 Nov 2020 14:55:12 +0000 (15:55 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 9 Dec 2020 09:46:16 +0000 (10:46 +0100)
commit268e111546a641f166ba3afec1c8f485c44c4802
tree57a13f9ed4bfd64508ef99a1289db1ab77d2494a
parentfb19091a327ebf07aadc6b7a92c4005194afd66d
Put up additional safe guards to not use inactive/closed tcpdns socket

When we are operating on the tcpdns socket, we need to double check
whether the socket or its outerhandle or its listener or its mgr is
still active and when not, bail out early.

(cherry picked from commit c14c1fdd2c43c96a6b31affc719cdf18f0057667)
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c