Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at dcc-chat.c:842

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 599.599
Procedure: dcc_chat_deinit
Trace: View
Modified: Wed Sep 2 11:35:30 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/irc/dcc/dcc-chat.c
   Enter dcc_chat_deinit
 832 }
 833  
 834 void dcc_chat_deinit(void) 
 835 {
 836         dcc_unregister_type("CHAT");
 837         command_unbind("msg", (SIGNAL_FUNC) cmd_msg);   /* Dangerous Function Cast (ID: 604.604) */
 838         command_unbind("me", (SIGNAL_FUNC) cmd_me);   /* Dangerous Function Cast (ID: 603.603) */
 839         command_unbind("action", (SIGNAL_FUNC) cmd_action);   /* Dangerous Function Cast (ID: 602.602) */
 840         command_unbind("ctcp", (SIGNAL_FUNC) cmd_ctcp);   /* Dangerous Function Cast (ID: 601.601) */
 841         command_unbind("dcc chat", (SIGNAL_FUNC) cmd_dcc_chat);   /* Dangerous Function Cast (ID: 600.600) */
Wrong Number of Parameters842         command_unbind("mircdcc", (SIGNAL_FUNC) cmd_mircdcc);     /* Dangerous Function Cast */
 843         command_unbind("dcc close", (SIGNAL_FUNC) cmd_dcc_close);   /* Dangerous Function Cast (ID: 598.598) */
 844         command_unbind("whois", (SIGNAL_FUNC) cmd_whois);   /* Dangerous Function Cast (ID: 597.597) */
 845         signal_remove("dcc destroyed", (SIGNAL_FUNC) sig_dcc_destroyed);   /* Dangerous Function Cast (ID: 596.596) */
 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: 595.595) */
 848         signal_remove("dcc ctcp dcc", (SIGNAL_FUNC) dcc_ctcp_redirect);   /* Dangerous Function Cast (ID: 608.608) */
 849         signal_remove("dcc reply dcc", (SIGNAL_FUNC) dcc_ctcp_reply_redirect);   /* Dangerous Function Cast (ID: 607.607) */
 850         signal_remove("ctcp reply dcc reject", (SIGNAL_FUNC) ctcp_reply_dcc_reject);   /* Dangerous Function Cast (ID: 606.606) */
 851         signal_remove("event nick", (SIGNAL_FUNC) event_nick);   /* Dangerous Function Cast (ID: 605.605) */
 852 




Change Warning 599.599 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: