Coverity MISSING_BREAK - CID 12468
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
MC Return | ||
0.9.9 |
Fix Released
|
Medium
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Medium
|
MC Return |
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: 12468
Checker: MISSING_BREAK
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: CompSession:
Code snippet:
320 if (!connected)
321 return "";
322
323 switch (type) {
CID 12468 - MISSING_BREAK
This case (value 0) is not terminated by a 'break' statement.
324 case CompSession:
325 if (smClientId)
326 return smClientId;
CID 12468 - MISSING_BREAK
The above case falls through to this one.
327 case CompSession:
328 if (smPrevClientId)
329 return smPrevClientId;
Related branches
- Daniel van Vugt: Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 15 lines (+2/-0)1 file modifiedsrc/session.cpp (+2/-0)
Changed in compiz (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → MC Return (mc-return) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Source file with Coverity annotations.