Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at log-away.c:76

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2119.2120
Procedure: awaylog_close
Trace: View
Modified: Wed Sep 2 11:51:20 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/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 2119.2120 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: