Coverity FORWARD_NULL - CID 10691
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
Confirmed
|
Low
|
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: 10691
Checker: FORWARD_NULL
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: stack_get_
Code snippet:
885 gint* x,
886 gint* y)
887 {
888 // sanity checks
At conditional: "!x" taking True branch
At conditional: "!y" taking False branch
CID 10691 - FORWARD_NULL
Comparing "x" to null implies that "x" might be null.
889 if (!x && !y)
890 return;
891
At conditional: "!self" taking True branch
892 if (!self || !IS_STACK (self))
893 {
CID 10691 - FORWARD_NULL
Dereferencing null variable "x".
894 *x = -1;
no longer affects: | notify-osd/oneiric |
affects: | notify-osd → notify-osd (Ubuntu) |
Source file with Coverity annotations.