Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at windows-layout.c:86

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2357.27352
Procedure: sig_layout_restore_item
Trace: view
Modified: Thu Nov 26 11:02:25 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/fe-common/core/windows-layout.c
   Enter sig_layout_restore_item
 75                 else {
 76                         QUERY_REC *query;
 77  
 78                         query = g_new0(QUERY_REC, 1);
 79                         query->chat_type = chat_protocol_lookup(chat_type);
 80                         query->name = g_strdup(name);
 81                         query->server_tag = g_strdup(tag);
 82                         query_init(query, TRUE);
 83                 }
 84  
 85                 signal_remove("query created",
Wrong Number of Parameters86                               (SIGNAL_FUNC) signal_query_created_curwin);     /* Dangerous Function Cast */
 87         }
 88 } 
 89  
 90 static void window_add_items(WINDOW_REC *window, CONFIG_NODE *node)
 91 {
 92         GSList *tmp;
 93         char *type;
 94  
 95         if (node == NULL)
 96                 return;




Change Warning 2357.27352 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: