We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monolog version 3.1.0
https://github.com/Seldaek/monolog/blob/main/src/Monolog/Formatter/LineFormatter.php#L153
$depth variable is not used, hence getPrevious method could end up in infinite loop:
$depth
do { $str .= "\n[previous exception] " . $this->formatException($previous); } while ($previous = $previous->getPrevious());
This could be changed to:
do { if ($depth++ > $this->maxNormalizeDepth) { $str .= 'Over ' . $this->maxNormalizeDepth . ' levels deep, aborting normalization'; break; } $str .= "\n[previous exception] " . $this->formatException($previous); } while (($previous = $previous->getPrevious()));
The text was updated successfully, but these errors were encountered:
83db4b3
Successfully merging a pull request may close this issue.
Monolog version 3.1.0
https://github.com/Seldaek/monolog/blob/main/src/Monolog/Formatter/LineFormatter.php#L153
$depth
variable is not used, hence getPrevious method could end up in infinite loop:This could be changed to:
The text was updated successfully, but these errors were encountered: