dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #08385
[Bug 943705] [NEW] Coverity REVERSE_INULL - CID 10693
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: 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 */
** Affects: notify-osd (Ubuntu)
Importance: High
Status: New
** Affects: notify-osd/oneiric
Importance: Undecided
Status: New
** Tags: coverity coverity-reverse-inull
--
Coverity REVERSE_INULL - CID 10693
https://bugs.launchpad.net/bugs/943705
You received this bug notification because you are a member of DX Packages, which is subscribed to notify-osd in Ubuntu.