Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at log-away.c:76

Categories: LANG.MEM.NPD CWE:476
Warning ID: 5663.28265
Procedure: awaylog_close
Trace: view
Modified: Thu Nov 26 11:08:24 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
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/core/log-away.c
   Enter awaylog_close
 70 static void awaylog_close(void) 
 71 {
 72         const char *fname;
 73         LOG_REC *log;
 74  
true75         fname = settings_get_str("awaylog_file");
fname <= 409576         if (*fname == '\0') return;     /* Null Pointer Dereference */
Postconditions
fname' = 0




Change Warning 5663.28265 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: