Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1787.27084
Procedure: fe_log_deinit
Trace: view
Modified: Thu Nov 26 11:01:15 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
 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) */
 764         signal_remove("window refnum changed", (SIGNAL_FUNC) sig_window_refnum_changed);   /* Dangerous Function Cast (ID: 1800.27089) */
 765         signal_remove("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 1797.27088) */
 766         signal_remove("log locked", (SIGNAL_FUNC) sig_log_locked);   /* Dangerous Function Cast (ID: 1795.27087) */
 767         signal_remove("log create failed", (SIGNAL_FUNC) sig_log_create_failed);   /* Dangerous Function Cast (ID: 1792.27086) */
 768         signal_remove("log new", (SIGNAL_FUNC) sig_log_new);   /* Dangerous Function Cast (ID: 1790.27085) */
Wrong Number of Parameters769         signal_remove("log config read", (SIGNAL_FUNC) sig_log_config_read);     /* Dangerous Function Cast */
 770         signal_remove("log config save", (SIGNAL_FUNC) sig_log_config_save);   /* Dangerous Function Cast (ID: 1784.27083) */
 771         signal_remove("awaylog show", (SIGNAL_FUNC) sig_awaylog_show);   /* Dangerous Function Cast (ID: 1782.27082) */
 772         signal_remove("theme destroyed", (SIGNAL_FUNC) sig_theme_destroyed);   /* Dangerous Function Cast (ID: 1780.27081) */
 773         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1778.27080) */
 774  
 775         if (autolog_ignore_targets != NULL)
 776                 g_strfreev(autolog_ignore_targets);
 777 } 




Change Warning 1787.27084 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: