Coverity CHECKED_RETURN - CID 12413 - src/privatescreen/tests/test-privatescreen.cpp - in function: privatescreen_ButtonPressEdgeEventManagementTest_NoTriggerOnMismatchedButtonNumber_Test::TestBody() - Calling function "CompOption::set(CompOption::Value &)" without checking return value (as is done elsewhere). No check of the return value of "option.set(value)".
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: 12413
Checker: CHECKED_RETURN
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: privatescreen_
Code snippet:
1310 cps::EventManager eventManager;
1311 ce::EventArguments arguments;
1312
1313
CID 12413 - CHECKED_RETURN
Calling function "CompOption:
No check of the return value of "option.
1314 option.set (value);
1315 option.value ().action ().setInitiate (initiate);
1316 option.value ().action ().setState (CompAction:
1317 ca::setActionAc
1318
1319 EXPECT_CALL (triggerableAction, initiate (_, _, _)).Times (0);
summary: |
- Coverity CHECKED_RETURN - CID 12413 + Coverity CHECKED_RETURN - CID 12413 - src/privatescreen/tests/test- + privatescreen.cpp - in function: + privatescreen_ButtonPressEdgeEventManagementTest_NoTriggerOnMismatchedButtonNumber_Test::TestBody() + - Calling function "CompOption::set(CompOption::Value &)" without + checking return value (as is done elsewhere). No check of the return + value of "option.set(value)". |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.11.0 |
Source file with Coverity annotations.