Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1746.27068
Procedure: fe_log_init
Trace: view
Modified: Thu Nov 26 11:01:12 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_init
 726         command_bind("log", NULL, (SIGNAL_FUNC) cmd_log);   /* Dangerous Function Cast (ID: 1773.27078) */
 727         command_bind("log open", NULL, (SIGNAL_FUNC) cmd_log_open);   /* Dangerous Function Cast (ID: 1770.27077) */
 728         command_bind("log close", NULL, (SIGNAL_FUNC) cmd_log_close);   /* Dangerous Function Cast (ID: 1768.27076) */
 729         command_bind("log start", NULL, (SIGNAL_FUNC) cmd_log_start);   /* Dangerous Function Cast (ID: 1765.27075) */
 730         command_bind("log stop", NULL, (SIGNAL_FUNC) cmd_log_stop);   /* Dangerous Function Cast (ID: 1762.27074) */
 731         command_bind("window log", NULL, (SIGNAL_FUNC) cmd_window_log);   /* Dangerous Function Cast (ID: 1759.27073) */
 732         command_bind("window logfile", NULL, (SIGNAL_FUNC) cmd_window_logfile);   /* Dangerous Function Cast (ID: 1757.27072) */
 733         signal_add_first("print text", (SIGNAL_FUNC) sig_printtext);   /* Dangerous Function Cast (ID: 1754.27071) */
 734         signal_add("window item remove", (SIGNAL_FUNC) sig_window_item_remove);   /* Dangerous Function Cast (ID: 1752.27070) */
 735         signal_add("window refnum changed", (SIGNAL_FUNC) sig_window_refnum_changed);   /* Dangerous Function Cast (ID: 1749.27069) */
Wrong Number of Parameters736         signal_add("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);     /* Dangerous Function Cast */
 737         signal_add("log locked", (SIGNAL_FUNC) sig_log_locked);   /* Dangerous Function Cast (ID: 1743.27067) */
 738         signal_add("log create failed", (SIGNAL_FUNC) sig_log_create_failed);   /* Dangerous Function Cast (ID: 1741.27066) */
 739         signal_add("log new", (SIGNAL_FUNC) sig_log_new);   /* Dangerous Function Cast (ID: 1738.27065) */
 740         signal_add("log config read", (SIGNAL_FUNC) sig_log_config_read);   /* Dangerous Function Cast (ID: 1736.27064) */
 741         signal_add("log config save", (SIGNAL_FUNC) sig_log_config_save);   /* Dangerous Function Cast (ID: 1734.27063) */
 742         signal_add("awaylog show", (SIGNAL_FUNC) sig_awaylog_show);   /* Dangerous Function Cast (ID: 1732.27062) */
 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");




Change Warning 1746.27068 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: