Coverity FORWARD_NULL - CID 12445 - plugins/animation/src/animation.cpp - in function: PrivateAnimScreen::initiateCloseAnim(PrivateAnimWindow *) - Comparing "effectToBePlayed" to null implies that "effectToBePlayed" might be null.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Stephen M. Webb | ||
0.9.9 |
Won't Fix
|
High
|
Unassigned | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
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: 12445
Checker: FORWARD_NULL
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: PrivateAnimScre
Code snippet:
1930 AnimEffect effectToBePlayed =
1931 getActualEffect (chosenEffect, AnimEventClose);
1932
1933 // handle empty random effect list
CID 12445 - FORWARD_NULL
Comparing "effectToBePlayed" to null implies that "effectToBePlayed" might be null.
1934 if (effectToBePlayed && effectToBePlayed == AnimEffectNone)
1935 {
1936 aw->mState = aw->mNewState;
1937 return;
1938 }
1939
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Compiz Maintainers: Pending requested
-
Diff: 35 lines (+14/-9)1 file modifiedplugins/animation/src/animation.cpp (+14/-9)
summary: |
- Coverity FORWARD_NULL - CID 12445 + Coverity FORWARD_NULL - CID 12445 - plugins/animation/src/animation.cpp + - in function: PrivateAnimScreen::initiateCloseAnim(PrivateAnimWindow *) + - Comparing "effectToBePlayed" to null implies that "effectToBePlayed" + might be null. |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
Changed in compiz: | |
status: | New → Confirmed |
milestone: | 0.9.11.0 → 0.9.12.1 |
Changed in compiz: | |
milestone: | 0.9.12.1 → 0.9.12.2 |
Changed in compiz: | |
status: | Confirmed → In Progress |
importance: | High → Medium |
assignee: | nobody → Stephen M. Webb (bregma) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Source file with Coverity annotations.