Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at dcc-chat.c:844

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1304.26750
Procedure: dcc_chat_deinit
Trace: view
Modified: Thu Nov 26 10:59:53 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/irc/dcc/dcc-chat.c
   Enter dcc_chat_deinit
 834 void dcc_chat_deinit(void) 
 835 {
 836         dcc_unregister_type("CHAT");
 837         command_unbind("msg", (SIGNAL_FUNC) cmd_msg);   /* Dangerous Function Cast (ID: 1311.26757) */
 838         command_unbind("me", (SIGNAL_FUNC) cmd_me);   /* Dangerous Function Cast (ID: 1310.26756) */
 839         command_unbind("action", (SIGNAL_FUNC) cmd_action);   /* Dangerous Function Cast (ID: 1309.26755) */
 840         command_unbind("ctcp", (SIGNAL_FUNC) cmd_ctcp);   /* Dangerous Function Cast (ID: 1308.26754) */
 841         command_unbind("dcc chat", (SIGNAL_FUNC) cmd_dcc_chat);   /* Dangerous Function Cast (ID: 1307.26753) */
 842         command_unbind("mircdcc", (SIGNAL_FUNC) cmd_mircdcc);   /* Dangerous Function Cast (ID: 1306.26752) */
 843         command_unbind("dcc close", (SIGNAL_FUNC) cmd_dcc_close);   /* Dangerous Function Cast (ID: 1305.26751) */
Wrong Number of Parameters844         command_unbind("whois", (SIGNAL_FUNC) cmd_whois);     /* Dangerous Function Cast */
 845         signal_remove("dcc destroyed", (SIGNAL_FUNC) sig_dcc_destroyed);   /* Dangerous Function Cast (ID: 1303.26749) */
 846         signal_remove("ctcp msg dcc chat", (SIGNAL_FUNC) ctcp_msg_dcc_chat);
 847         signal_remove("dcc chat message", (SIGNAL_FUNC) dcc_chat_msg);   /* Dangerous Function Cast (ID: 1302.26748) */
 848         signal_remove("dcc ctcp dcc", (SIGNAL_FUNC) dcc_ctcp_redirect);   /* Dangerous Function Cast (ID: 1315.26761) */
 849         signal_remove("dcc reply dcc", (SIGNAL_FUNC) dcc_ctcp_reply_redirect);   /* Dangerous Function Cast (ID: 1314.26760) */
 850         signal_remove("ctcp reply dcc reject", (SIGNAL_FUNC) ctcp_reply_dcc_reject);   /* Dangerous Function Cast (ID: 1313.26759) */
 851         signal_remove("event nick", (SIGNAL_FUNC) event_nick);   /* Dangerous Function Cast (ID: 1312.26758) */
 852 } 




Change Warning 1304.26750 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: