← Back to team overview

dx-packages team mailing list archive

[Bug 943709] Re: Coverity FORWARD_NULL - CID 10691

 

** No longer affects: notify-osd/oneiric

** Project changed: notify-osd => notify-osd (Ubuntu)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/943709

Title:
  Coverity FORWARD_NULL - CID 10691

Status in “notify-osd” package in Ubuntu:
  Confirmed

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://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;

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/943709/+subscriptions