From a43e77a535026ade861aefcfd391f65315699c97 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 8 Apr 2022 09:19:19 +0200 Subject: [PATCH] followup on #11509: copyTree() also throws a std::logic_exception on internal inconsistencies Coverity 1487850 Uncaught exception Coverity 1487851 Uncaught exception --- pdns/iputils.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pdns/iputils.hh b/pdns/iputils.hh index 3e80da91e4..dc7ed62624 100644 --- a/pdns/iputils.hh +++ b/pdns/iputils.hh @@ -899,6 +899,9 @@ private: catch (const NetmaskException&) { abort(); } + catch (const std::logic_error&) { + abort(); + } } public: -- 2.47.2