Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at session.c:153

Categories: LANG.MEM.NPD CWE:476
Warning ID: 6527.28295
Procedure: session_save_server
Trace: view
Modified: Thu Nov 26 11:08:33 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/session.c
   Enter session_save_server
 145 static void session_save_server(SERVER_REC *server, CONFIG_REC *config,
 146                                 CONFIG_NODE *node) 
 147 {
 148         int handle;
 149  
 150         node = config_node_section(node, NULL, NODE_TYPE_BLOCK);
 151  
 152         config_node_set_str(config, node, "chat_type",
true153                             chat_protocol_find_id(server->chat_type)->name);     /* Null Pointer Dereference */
Preconditions
server->chat_type <= 0
node->type <= 3
node->type >= 2




Change Warning 6527.28295 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: