Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-log.c:753

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1775.27079
Procedure: fe_log_deinit
Trace: view
Modified: Thu Nov 26 11:01:14 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/fe-log.c
   Enter fe_log_deinit
 743         signal_add("theme destroyed", (SIGNAL_FUNC) sig_theme_destroyed);   /* Dangerous Function Cast (ID: 1726.27060) */
 744         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1724.27059) */
 745  
 746         command_set_options("log open", "noopen autoopen -targets window colors");
 747 }
 748  
 749 void fe_log_deinit(void) 
 750 {
 751         g_source_remove(autoremove_tag);
 752         if (log_theme_name != NULL)
Wrong Number of Parameters753                 signal_remove("print format", (SIGNAL_FUNC) sig_print_format);     /* Dangerous Function Cast */
 754  
 755         command_unbind("log", (SIGNAL_FUNC) cmd_log);   /* Dangerous Function Cast (ID: 1822.27098) */
 756         command_unbind("log open", (SIGNAL_FUNC) cmd_log_open);   /* Dangerous Function Cast (ID: 1819.27097) */
 757         command_unbind("log close", (SIGNAL_FUNC) cmd_log_close);   /* Dangerous Function Cast (ID: 1816.27096) */
 758         command_unbind("log start", (SIGNAL_FUNC) cmd_log_start);   /* Dangerous Function Cast (ID: 1814.27095) */
 759         command_unbind("log stop", (SIGNAL_FUNC) cmd_log_stop);   /* Dangerous Function Cast (ID: 1812.27094) */
 760         command_unbind("window log", (SIGNAL_FUNC) cmd_window_log);   /* Dangerous Function Cast (ID: 1810.27093) */
 761         command_unbind("window logfile", (SIGNAL_FUNC) cmd_window_logfile);   /* Dangerous Function Cast (ID: 1807.27092) */
 762         signal_remove("print text", (SIGNAL_FUNC) sig_printtext);   /* Dangerous Function Cast (ID: 1805.27091) */
 763         signal_remove("window item remove", (SIGNAL_FUNC) sig_window_item_remove);   /* Dangerous Function Cast (ID: 1803.27090) */




Change Warning 1775.27079 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: