Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at bans.c:321

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2153.2156
Procedure: read_settings
Trace: View
Modified: Wed Sep 2 11:51:36 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/irc/core/bans.c
   Enter read_settings
 318 static void read_settings(void) 
 319 {
 320         if (default_ban_type_str != NULL &&
true321             strcmp(default_ban_type_str, settings_get_str("ban_type")) == 0)     /* Null Pointer Dereference */
Preconditions
*default_ban_type_str = 0
strlen(default_ban_type_str) = 0




Change Warning 2153.2156 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: