]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix one potential issue spotted by Coverity 15573/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 May 2025 08:09:09 +0000 (10:09 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 May 2025 08:09:09 +0000 (10:09 +0200)
commita43d774e298e74e465171773d3de9ace07831972
tree08e3cf83e5769f526b5a52a928d9a7425d64f026
parent4a6754390cd249d456dcae1a38169bbf844b405a
dnsdist: Fix one potential issue spotted by Coverity

As spotted by Coverity, one function called from a destructor could
in theory throw an exception which is not caught from within the
destructor, which would lead to a termination of the program.
At a quick glance it seems quite impossible to happen in practice
with the current code, but let's fix it nevertheless.
pdns/dnsdistdist/dnsdist-tcp.cc