Subject: | Infinity loop 100% CPU usage |
Example of infinity loop:
<presence xmlns='jabber:client' from='sparrow@itn.pl/PowerBook G4 15"'
to='jogger@jogger.pl'><show>away</show><status>Away</status></presence>
----------------
File Parser.pm line 386:
from:
if((($id2 < $id1) && ($id1 == -1)) || ($id2 != -1))
{
$ids = $id2;
$id = "\"";
}
to:
else
{
if((($id2 < $id1) && ($id1 == -1)) || ($id2 != -1))
{
$ids = $id2;
$id = "\"";
}
}