Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at perl-common.c:287

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7352.28448
Procedure: perl_connect_fill_hash
Trace: view
Modified: Thu Nov 26 11:09:53 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/perl/perl-common.c
   Enter perl_connect_fill_hash
 279 void perl_connect_fill_hash(HV *hv, SERVER_CONNECT_REC *conn) 
 280 {
 281         char *type, *chat_type;
 282  
 283         g_return_if_fail(hv != NULL);
 284         g_return_if_fail(conn != NULL);
 285  
 286         type = "SERVER CONNECT";
true287         chat_type = (char *) chat_protocol_find_id(conn->chat_type)->name;     /* Null Pointer Dereference */
Preconditions
hv != 0
conn->chat_type <= 0
Postconditions
_g_boolean_var_' = 1
_g_boolean_var_' = 1
type' = &#string47[0]




Change Warning 7352.28448 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: