Skip to content
Snippets Groups Projects
Commit cf7327a2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX #5750 Bug: CmailFile::server_parse enters an infinite loop if

$server_response is false
parent 43da410b
No related branches found
No related tags found
No related merge requests found
......@@ -1105,12 +1105,12 @@ class CMailFile
$_retVal = true; // Indicates if Object was created or not
$server_response = '';
while ( substr($server_response,3,1) != ' ' )
while (substr($server_response,3,1) != ' ')
{
if( !( $server_response = fgets($socket, 256) ) )
if (! ($server_response = fgets($socket, 256)) )
{
$this->error="Couldn't get mail server response codes";
$_retVal = false;
return false;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment