diff --git a/ssl/panel/class/m_ssl.php b/ssl/panel/class/m_ssl.php index b37ecf2c..e2050938 100644 --- a/ssl/panel/class/m_ssl.php +++ b/ssl/panel/class/m_ssl.php @@ -469,6 +469,10 @@ class m_ssl { break; } $offset = strpos($fqdn, ".", $offset+1); + //No more dot, we prevent an infinite loop + if (!$offset) { + break; + } } while (true); if (!$found) { echo "FATAL: didn't found fqdn $fqdn in sub_domaines table !\n";