** Description changed:

  [Impact]
  
  Coverity report bug.
  
  [Test Case]
  
  None, no regressions allowed.
  
  [Regression Potential]
-   
-   
-   
+ 
+ No regression potential.
   _
  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: 12653
  Checker: REVERSE_INULL
  Category: No category available
  CWE definition: http://cwe.mitre.org/data/definitions/476.html
  File: /tmp/buildd/bamf-0.4.0daily13.01.11/src/bamf-matcher.c
  Function: list_prepend_desktop_file_env_directories
  Code snippet:
  1037   if (env)
  1038     {
  1039       data_dirs = g_strsplit (env, ":", 0);
  1040
  CID 12653 - REVERSE_INULL
  {CovLStrv2{{t{Assigning: {0} {1}= {2}.}{"data"}{}{"data_dirs"}}}}
  {CovLStrv2{{t{Directly dereferencing pointer {0}.}{"data"}}}}
  1041       for (data = data_dirs; *data; data++)
  1042         {
  1043           path = g_build_filename (*data, "applications", NULL);
  1044           if (g_file_test (path, G_FILE_TEST_IS_DIR) &&
  1045               !g_list_find_custom (dirs, path, (GCompareFunc) g_strcmp0))
  1046             {

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1100553

Title:
  Coverity REVERSE_INULL - CID 12653

To manage notifications about this bug go to:
https://bugs.launchpad.net/bamf/+bug/1100553/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to