| Summary: | cantor-4.12.3/src/backends/qalculate/qalculateexpression.cpp:224]: (style) Array index 'i' is used before limits check. | ||
|---|---|---|---|
| Product: | [Applications] cantor | Reporter: | dcb314 |
| Component: | qualculate-backend | Assignee: | Filipe Saraiva <filipe> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | filipe |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Thanks for your idea. |
Source code is if (argument[i] == '\\' && i < argument.size()-1) ++i; Maybe better code might be if ( i < argument.size()-1 && argument[i] == '\\') ++i; Reproducible: Always