Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at window-activity.c:125

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2238.2244
Procedure: read_settings
Trace: View
Modified: Wed Sep 2 11:54:01 2009   show details
 
Priority: None
State: None
Finding: None
Owner: None
  edit properties

Legend [ X ]
Warning Location
Contributes
Parse Error
Other Warning
Two or More Loop Iterations
On Execution Path
Comment
Macro
Preprocessor
Include
Keyword
Preprocessed Away

Source  |  Language: C Hide Legend     
ProblemLineSource
   /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/fe-common/core/window-activity.c
   Enter read_settings
 117 static void read_settings(void) 
 118 {
 119         const char *targets;
 120  
 121         if (hide_targets != NULL)
 122                 g_strfreev(hide_targets);
 123  
true124         targets = settings_get_str("activity_hide_targets");
targets <= 4095125         hide_targets = *targets == '\0' ? NULL :     /* Null Pointer Dereference */
Preconditions
hide_targets != 0
Postconditions
targets' = 0




Change Warning 2238.2244 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: