Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at keyboard.c:117

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2260.2266
Procedure: key_config_find
Trace: View
Modified: Wed Sep 2 11:55:07 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/keyboard.c
   Enter key_config_find
 109 static CONFIG_NODE *key_config_find(const char *key) 
 110 {
 111         CONFIG_NODE *node;
 112         GSList *tmp;
 113  
 114         /* remove old keyboard settings */ 
true115         node = iconfig_node_traverse("(keyboard", TRUE);
 116  
node <= 4095117         tmp = config_node_first(node->value);     /* Null Pointer Dereference */
Preconditions
mainconfig->mainnode >= 0
*$unknown_886771 = 40
strlen($unknown_886771) != 0
Postconditions
key' = $param_1
node' = 0




Change Warning 2260.2266 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: