dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #08367
[Bug 943709] [NEW] Coverity FORWARD_NULL - CID 10691
You have been subscribed to a public bug:
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://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10691
Checker: FORWARD_NULL
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/476.html
File: /tmp/buildd/notify-osd-0.9.33/src/stack.c
Function: stack_get_slot_position()
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;
** Affects: notify-osd (Ubuntu)
Importance: Low
Status: Confirmed
** Tags: coverity coverity-forward-null
--
Coverity FORWARD_NULL - CID 10691
https://bugs.launchpad.net/bugs/943709
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.