Coverity FORWARD_NULL - CID 12450 - plugins/animation/src/dodge.cpp in function: DodgeAnim::cleanUp(bool, bool) dynamic_cast <DodgeAnim *>(curAnim) can return NULL
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: 12450
Checker: FORWARD_NULL
Category: dynamic_cast
CWE definition: http://
File: /tmp/buildd/
Function: DodgeAnim:
Code snippet:
443 Animation *curAnim = adw->curAnimation ();
444
445 if (curAnim && curAnim->info () == AnimEffectDodge)
446 {
CID 12450 - FORWARD_NULL
Dynamic cast to pointer "dynamic_cast <DodgeAnim *>(curAnim)" can return NULL.
Assigning: "animDodger" = "dynamic_cast <DodgeAnim *>(curAnim)".
447 DodgeAnim *animDodger = dynamic_
CID 12450 - FORWARD_NULL
Dereferencing null pointer "animDodger".
448 if (animDodger-
449 animDodger-
450 }
451 }
452 }
summary: |
- Coverity FORWARD_NULL - CID 12450 + Coverity FORWARD_NULL - CID 12450 - plugins/animation/src/dodge.cpp in + function: DodgeAnim::cleanUp(bool, bool) dynamic_cast <DodgeAnim + *>(curAnim) can return NULL |
no longer affects: | compiz/0.9.9 |
Changed in compiz: | |
importance: | High → Medium |
milestone: | none → 0.9.12.0 |
status: | New → Triaged |
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.