← Back to team overview

dx-packages team mailing list archive

[Bug 1191844] Re: Coverity FORWARD_NULL - CID 13716

 

the code described there has been removed, closing the bug

** No longer affects: indicator-session

** Changed in: indicator-session (Ubuntu)
   Importance: Undecided => Low

** Changed in: indicator-session (Ubuntu)
       Status: New => Invalid

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

Title:
  Coverity FORWARD_NULL - CID 13716

Status in indicator-session package in Ubuntu:
  Invalid

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: 13716
  Checker: FORWARD_NULL
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/476.html
  File: /tmp/buildd/indicator-session-12.10.5daily13.05.06.1/src/users-service-dbus.c
  Function: get_seat
  Code snippet:
  400     }
  401 
  402   session_proxy = create_login1_session_proxy (path);
  403 
  CID 13716 - FORWARD_NULL
  Comparing "session_proxy" to null implies that "session_proxy" might be null.
  404   if (!session_proxy)
  405     {
  406       g_debug ("%s: Could't get session proxy object", G_STRLOC);
  407     }
  408 
  CID 13716 - FORWARD_NULL
  Passing null pointer "session_proxy" to function "get_seat_from_session_proxy(Login1Session *)", which dereferences it.
  409   seat = get_seat_from_session_proxy (session_proxy);

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-session/+bug/1191844/+subscriptions