Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at windows-layout.c:86

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1200.1200
Procedure: sig_layout_restore_item
Trace: View
Modified: Wed Sep 2 11:39: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/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 1200.1200 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: