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
Hello!
We've checked your code with AppChecker static analyzer and found possible bug:
roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php
Line 1263 in ad83610
else if ($str[$position] == "\r" && $str[$position] == "\n") { $position += 2; }
$str[$position] can't be equal to "\r" and "\n" at the same time.
if ($str[$position] == "\n") is checked earlier so we think that code should be like:
else if ($str[$position] == "\r" && $str[$position + 1] == "\n") { $position += 2; }
Possible defect was found by Echelon Team with AppChecker static analyzer
The text was updated successfully, but these errors were encountered:
Fix possible defect in handling \r\n in scripts (#5685)
8953c7a
33586e4
Thanks. Fixed.
Sorry, something went wrong.
No branches or pull requests
Hello!
We've checked your code with AppChecker static analyzer and found possible bug:
roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php
Line 1263 in ad83610
$str[$position] can't be equal to "\r" and "\n" at the same time.
if ($str[$position] == "\n") is checked earlier so we think that code should be like:
Possible defect was found by Echelon Team with AppChecker static analyzer
The text was updated successfully, but these errors were encountered: