]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
followup on #11509: copyTree() also throws a std::logic_exception on internal inconsi... 11516/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 8 Apr 2022 07:19:19 +0000 (09:19 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 8 Apr 2022 07:19:19 +0000 (09:19 +0200)
Coverity 1487850 Uncaught exception
Coverity 1487851 Uncaught exception

pdns/iputils.hh

index 3e80da91e4ed23527608a782ffad49216fa8412f..dc7ed626247ac9a2193b8ab0bc4ef7b16a2f7d0a 100644 (file)
@@ -899,6 +899,9 @@ private:
     catch (const NetmaskException&) {
       abort();
     }
+    catch (const std::logic_error&) {
+      abort();
+    }
   }
 
 public: