joomla/joomla-platform — pull request #1557 by elinw (2012-09-28 09:43:13+00:00)
Title: Division by 0 in JCrypt

We have a report of division by 0 error [#29372] at line 210 (https://github.com/joomla/joomla-platform/blob/staging/libraries/joomla/crypt/crypt.php#L210) . A look at the code indicates that you would get $duration == 0 where $microStart and $microEnd are the same (and all the conditions for getting to that point are met, which would not be typical).