Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at statusbar-items.c:497

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 4551.28173
Procedure: statusbar_items_deinit
Trace: view
Modified: Thu Nov 26 11:06:55 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-text/statusbar-items.c
   Enter statusbar_items_deinit
 487  
 488         /* more */ 
 489         g_slist_free(more_visible);
 490         signal_remove("gui page scrolled", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 4561.28178) */
 491         signal_remove("window changed", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 4559.28177) */
 492         signal_remove("gui print text finished", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 4557.28176) */
 493         signal_remove("command clear", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 4555.28175) */
 494         signal_remove("command scrollback", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 4553.28174) */
 495  
 496         /* lag */ 
Wrong Number of Parameters497         signal_remove("server lag", (SIGNAL_FUNC) sig_server_lag_updated);     /* Dangerous Function Cast */
 498         signal_remove("window changed", (SIGNAL_FUNC) lag_check_update);   /* Dangerous Function Cast (ID: 4549.28172) */
 499         signal_remove("window server changed", (SIGNAL_FUNC) lag_check_update);   /* Dangerous Function Cast (ID: 4573.28184) */
 500         g_source_remove(lag_timeout_tag);
 501  
 502         /* input */ 
 503         g_hash_table_foreach(input_entries, (GHFunc) g_free, NULL);   /* Dangerous Function Cast (ID: 4571.28183) */
 504         g_hash_table_destroy(input_entries);
 505  
 506         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 4569.28182) */
 507 } 




Change Warning 4551.28173 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: