Coverity CHECKED_RETURN - CID 12391 - plugins/animation/src/options.cpp - in function: PrivateAnimScreen::getOptionSetForSelectedRow(PrivateAnimWindow *, Animation *) - Calling function "Animation::curWindowEvent()" without checking return value (as is done elsewhere 16 out of 18 times). No check of the return value of "anim->curWindowEvent()".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
New
|
Medium
|
Unassigned | ||
0.9.9 |
New
|
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: 12391
Checker: CHECKED_RETURN
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: PrivateAnimScre
Code snippet:
115 OptionSet *
116 PrivateAnimScre
117 Animation *anim)
118 {
CID 12391 - CHECKED_RETURN
Calling function "Animation:
No check of the return value of "anim->
119 const AnimEvent event = win2AnimEventMa
120 OptionSets &eventOptionSets = mEventOptionSet
121 OptionSet *setSelectedForRow = &eventOptionSet
122
123 return setSelectedForRow;
124 }
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
summary: |
- Coverity CHECKED_RETURN - CID 12391 + Coverity CHECKED_RETURN - CID 12391 - plugins/animation/src/options.cpp + - in function: + PrivateAnimScreen::getOptionSetForSelectedRow(PrivateAnimWindow *, + Animation *) - Calling function "Animation::curWindowEvent()" without + checking return value (as is done elsewhere 16 out of 18 times). No + check of the return value of "anim->curWindowEvent()". |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Source file with Coverity annotations.