]> 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>
Mon, 2 Nov 2020 19:58:00 +0000 (20:58 +0100)
commitc14c1fdd2c43c96a6b31affc719cdf18f0057667
treebfba21659443d484c41c3bea11bc6ee4be98afe0
parentcea4b4db8f32f98ffb48f2afc08ff3b19bfec602
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.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c