Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 5657.28264
Procedure: awaylog_open
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_open
 39 static void awaylog_open(void) 
 40 {
 41         const char *fname;
 42         LOG_REC *log;
 43         int level;
 44  
true45         fname = settings_get_str("awaylog_file");
 46         level = settings_get_level("awaylog_level");
fname <= 409547         if (*fname == '\0' || level == 0) return;     /* Null Pointer Dereference */
Postconditions
fname' = 0
level' = 0




Change Warning 5657.28264 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: