Coverity REVERSE_INULL - CID 10693
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-osd (Ubuntu) |
New
|
High
|
Unassigned |
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:/
CID: 10693
Checker: REVERSE_INULL
Category: No category available
CWE definition: http://
File: /tmp/buildd/
Function: _get_font_
Code snippet:
192 pango_font_
193 g_free ((gpointer) font_name);
194
195 // extract font-face-
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 → notify-osd (Ubuntu) |
no longer affects: | notify-osd/oneiric |
Source file with Coverity annotations.