From: Otto Moerbeek Date: Fri, 8 Apr 2022 07:19:19 +0000 (+0200) Subject: followup on #11509: copyTree() also throws a std::logic_exception on internal inconsi... X-Git-Tag: rec-4.7.0-beta1~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a43e77a535026ade861aefcfd391f65315699c97;p=thirdparty%2Fpdns.git followup on #11509: copyTree() also throws a std::logic_exception on internal inconsistencies Coverity 1487850 Uncaught exception Coverity 1487851 Uncaught exception --- 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: