From 1c539fbcd9ed1ea0e63df28545286705f79a5dbb Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 11 Jul 2024 11:22:32 +0200 Subject: [PATCH] Fix division by zero causing eternal loops --- lib/config.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/config.cpp b/lib/config.cpp index 38f0a1c1..f62b803e 100644 --- a/lib/config.cpp +++ b/lib/config.cpp @@ -567,7 +567,6 @@ void Util::Config::activate(){ sigaction(SIGHUP, &new_action, NULL); sigaction(SIGTERM, &new_action, NULL); sigaction(SIGPIPE, &new_action, NULL); - sigaction(SIGFPE, &new_action, NULL); // check if a child signal handler isn't set already, if so, set it. sigaction(SIGCHLD, 0, &cur_action); if (cur_action.sa_handler == SIG_DFL || cur_action.sa_handler == SIG_IGN){