Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-log.c:771

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 930.930
Procedure: fe_log_deinit
Trace: View
Modified: Wed Sep 2 11:37:51 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/fe-log.c
   Enter fe_log_deinit
 761         command_unbind("window logfile", (SIGNAL_FUNC) cmd_window_logfile);   /* Dangerous Function Cast (ID: 940.940) */
 762         signal_remove("print text", (SIGNAL_FUNC) sig_printtext);   /* Dangerous Function Cast (ID: 939.939) */
 763         signal_remove("window item remove", (SIGNAL_FUNC) sig_window_item_remove);   /* Dangerous Function Cast (ID: 938.938) */
 764         signal_remove("window refnum changed", (SIGNAL_FUNC) sig_window_refnum_changed);   /* Dangerous Function Cast (ID: 937.937) */
 765         signal_remove("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 936.936) */
 766         signal_remove("log locked", (SIGNAL_FUNC) sig_log_locked);   /* Dangerous Function Cast (ID: 935.935) */
 767         signal_remove("log create failed", (SIGNAL_FUNC) sig_log_create_failed);   /* Dangerous Function Cast (ID: 934.934) */
 768         signal_remove("log new", (SIGNAL_FUNC) sig_log_new);   /* Dangerous Function Cast (ID: 933.933) */
 769         signal_remove("log config read", (SIGNAL_FUNC) sig_log_config_read);   /* Dangerous Function Cast (ID: 932.932) */
 770         signal_remove("log config save", (SIGNAL_FUNC) sig_log_config_save);   /* Dangerous Function Cast (ID: 931.931) */
Wrong Number of Parameters771         signal_remove("awaylog show", (SIGNAL_FUNC) sig_awaylog_show);     /* Dangerous Function Cast */
 772         signal_remove("theme destroyed", (SIGNAL_FUNC) sig_theme_destroyed);   /* Dangerous Function Cast (ID: 929.929) */
 773         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 928.928) */
 774  
 775         if (autolog_ignore_targets != NULL)
 776                 g_strfreev(autolog_ignore_targets);
 777 




Change Warning 930.930 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: