dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #08308
[Bug 943705] Re: Coverity REVERSE_INULL - CID 10693
** Project changed: notify-osd => notify-osd (Ubuntu)
** No longer affects: notify-osd/oneiric
--
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/943705
Title:
Coverity REVERSE_INULL - CID 10693
Status in “notify-osd” package in Ubuntu:
New
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: 10693
Checker: REVERSE_INULL
Category: No category available
CWE definition: http://cwe.mitre.org/data/definitions/476.html
File: /tmp/buildd/notify-osd-0.9.33/src/defaults.c
Function: _get_font_size_dpi()
Code snippet:
192 pango_font_description_free (desc);
193 g_free ((gpointer) font_name);
194
195 // extract font-face-name/style
CID 10693 - REVERSE_INULL
Directly dereferencing pointer "string".
196 font_face = extract_font_face (string->str);
197
CID 10693 - REVERSE_INULL
Dereferencing "string" before a null check.
198 if (string != NULL)
199 g_string_free (string, TRUE);
200
201 /* update stored font-face name and clean up */
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/943705/+subscriptions