From bf99eecfa81d109830005d052f5934a2e467349b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 27 Oct 2025 07:33:56 +0100 Subject: [PATCH] Be sure to not leak a socket if tcpConnectionHandler() throws. Fixes: #16365 Signed-off-by: Miod Vallat --- pdns/dumresp.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dumresp.cc b/pdns/dumresp.cc index 96565a025e..225d8f4c7d 100644 --- a/pdns/dumresp.cc +++ b/pdns/dumresp.cc @@ -100,6 +100,7 @@ try } catch(const std::exception& e) { cerr<<"TCP connection handler got an exception: "<