Coverity FORWARD_NULL - CID 12452 - plugins/animation/src/extensionplugin.cpp - Dynamic cast to pointer "dynamic_cast <DodgeAnim *>(curAnim)" can return NULL, passing null pointer "dynamic_cast <DodgeAnim *>(curAnim)" to function "DodgeAnim::calculateDodgeAmounts()", which dereferences it.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Triaged
|
Medium
|
Unassigned |
Bug Description
This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https:/
CID: 12452
Checker: FORWARD_NULL
Category: dynamic_cast
CWE definition: http://
File: /tmp/buildd/
Function: ExtensionPlugin
Code snippet:
268 if (!dodgeData || !dodgeData-
269 !dodgeData-
270 continue;
271
CID 12452 - FORWARD_NULL
Dynamic cast to pointer "dynamic_cast <DodgeAnim *>(curAnim)" can return NULL.
Passing null pointer "dynamic_cast <DodgeAnim *>(curAnim)" to function "DodgeAnim:
272 dynamic_
273 }
274
275 // TODO consider removing this loop and skipPostPrepare
276 for (CompWindowVect
277 rit != mLastClientList
summary: |
- Coverity FORWARD_NULL - CID 12452 + Coverity FORWARD_NULL - CID 12452 - + plugins/animation/src/extensionplugin.cpp - Dynamic cast to pointer + "dynamic_cast <DodgeAnim *>(curAnim)" can return NULL, passing null + pointer "dynamic_cast <DodgeAnim *>(curAnim)" to function + "DodgeAnim::calculateDodgeAmounts()", which dereferences it. |
Changed in compiz: | |
milestone: | none → 0.9.11.0 |
importance: | High → Low |
status: | New → Triaged |
no longer affects: | compiz/0.9.9 |
no longer affects: | compiz/0.9.10 |
Changed in compiz: | |
importance: | Low → Medium |
milestone: | 0.9.11.0 → 0.9.12.0 |
Changed in compiz: | |
milestone: | 0.9.12.0 → 0.9.12.1 |
Changed in compiz: | |
milestone: | 0.9.12.1 → 0.9.12.2 |
Source file with Coverity annotations.