Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at statusbar-items.c:503

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2032.2032
Procedure: statusbar_items_deinit
Trace: View
Modified: Wed Sep 2 11:48:22 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-text/statusbar-items.c
   Enter statusbar_items_deinit
 493         signal_remove("command clear", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 2024.2024) */
 494         signal_remove("command scrollback", (SIGNAL_FUNC) sig_statusbar_more_updated);   /* Dangerous Function Cast (ID: 2023.2023) */
 495  
 496         /* lag */ 
 497         signal_remove("server lag", (SIGNAL_FUNC) sig_server_lag_updated);   /* Dangerous Function Cast (ID: 2022.2022) */
 498         signal_remove("window changed", (SIGNAL_FUNC) lag_check_update);   /* Dangerous Function Cast (ID: 2021.2021) */
 499         signal_remove("window server changed", (SIGNAL_FUNC) lag_check_update);   /* Dangerous Function Cast (ID: 2033.2033) */
 500         g_source_remove(lag_timeout_tag);
 501  
 502         /* input */ 
Wrong Number of Parameters503         g_hash_table_foreach(input_entries, (GHFunc) g_free, NULL);     /* Dangerous Function Cast */
 504         g_hash_table_destroy(input_entries);
 505  
 506         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 2031.2031) */
 507 




Change Warning 2032.2032 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: