Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Division by 0 in JCrypt #1557
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).