Fix code errors identified by PVS-Studio check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
In Progress
|
Medium
|
Unassigned |
Bug Description
Hello. We've checked the latest version of Inkscape with our PVS-Studio static analyzer, and it found some errors and bugs. You are welcome to read the report: http://
== List of issues (from TOC) ==
* [DONE] Testing a pointer for null after new
* [DONE] Comparing this with zero
* [DONE] Dangerous parameter redefinition
* [DONE] Incorrectly commented-out line
* "One-time" loop
* [DONE] Very odd method
* [DONE] Lost comma
* [DONE] Wrong length in strncmp
* [DONE] Potential division by zero
* Missing else?
* Using a null pointer
* [DONE] Missing semicolon
* [DONE] Unused parameter
* [DONE] Pointer to a nonexistent array
* [DONE] Incorrect object name in a condition
* [DONE] Careless use of numeric constants
* Identical expressions
* Identical operations in if and else blocks
Changed in inkscape: | |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
description: | updated |
Thanks Egor,
If you're able to attach a copy of the full analysis report, that would be much appreciated.