Coverity CHECKED_RETURN - CID 12394 - plugins/put/src/put.cpp - in function: PutScreen::handleEvent(_XEvent *) - Calling function "CompOption::set(CompOption::Value &)" without checking return value (as is done elsewhere 1171 out of 1219 times). No check of the return value of "opt[1UL]->set(value1)".
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: 12394
Checker: CHECKED_RETURN
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: PutScreen:
Code snippet:
943 CompOption::Vector opt (5);
944
945 CompOption::Value value0 = (int) event->
946 opt.push_back (CompOption ( "window"
CID 12394 - CHECKED_RETURN
Calling function "CompOption:
No check of the return value of "opt[0UL]
947 opt[0].set (value0);
948
949 CompOption::Value value1 = (int) event->
950 opt.push_back (CompOption ( "x",CompOption:
CID 12394 - CHECKED_RETURN
Calling function "CompOption:
No check of the return value of "opt[1UL]
951 opt[1].set (value1);
952
summary: |
- Coverity CHECKED_RETURN - CID 12394 + Coverity CHECKED_RETURN - CID 12394 - plugins/put/src/put.cpp - in + function: PutScreen::handleEvent(_XEvent *) - Calling function + "CompOption::set(CompOption::Value &)" without checking return value (as + is done elsewhere 1171 out of 1219 times). No check of the return value + of "opt[1UL]->set(value1)". |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
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.