Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at fe-log.c:630

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2255.2261
Procedure: sig_log_new
Trace: View
Modified: Wed Sep 2 11:54:37 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/fe-log.c
   Enter sig_log_new
 627 static void sig_log_new(LOG_REC *log) 
 628 {
 629         if (!settings_get_bool("awaylog_colors") &&
true630             strcmp(log->fname, settings_get_str("awaylog_file")) == 0)     /* Null Pointer Dereference */
Preconditions
**$param_1 = 0
strlen(*$param_1) = 0
Postconditions
log' = $param_1




Change Warning 2255.2261 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: