Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at irc-commands.c:1058

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1065.26511
Procedure: irc_commands_deinit
Trace: view
Modified: Thu Nov 26 10:58:55 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/core/irc-commands.c
   Enter irc_commands_deinit
 1048 }
 1049  
 1050 void irc_commands_deinit(void) 
 1051 {
 1052         g_source_remove(knockout_tag);
 1053  
 1054         command_unbind("notice", (SIGNAL_FUNC) cmd_notice);   /* Dangerous Function Cast (ID: 1069.26515) */
 1055         command_unbind("ctcp", (SIGNAL_FUNC) cmd_ctcp);   /* Dangerous Function Cast (ID: 1068.26514) */
 1056         command_unbind("nctcp", (SIGNAL_FUNC) cmd_nctcp);   /* Dangerous Function Cast (ID: 1067.26513) */
 1057         command_unbind("part", (SIGNAL_FUNC) cmd_part);   /* Dangerous Function Cast (ID: 1066.26512) */
Wrong Number of Parameters1058         command_unbind("kick", (SIGNAL_FUNC) cmd_kick);     /* Dangerous Function Cast */
 1059         command_unbind("topic", (SIGNAL_FUNC) cmd_topic);   /* Dangerous Function Cast (ID: 1064.26510) */
 1060         command_unbind("invite", (SIGNAL_FUNC) cmd_invite);   /* Dangerous Function Cast (ID: 1063.26509) */
 1061         command_unbind("list", (SIGNAL_FUNC) cmd_list);   /* Dangerous Function Cast (ID: 1062.26508) */
 1062         command_unbind("who", (SIGNAL_FUNC) cmd_who);   /* Dangerous Function Cast (ID: 1061.26507) */
 1063         command_unbind("names", (SIGNAL_FUNC) cmd_names);   /* Dangerous Function Cast (ID: 1060.26506) */
 1064         command_unbind("nick", (SIGNAL_FUNC) cmd_nick);   /* Dangerous Function Cast (ID: 1059.26505) */
 1065         command_unbind("note", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1058.26504) */
 1066         command_unbind("whois", (SIGNAL_FUNC) cmd_whois);   /* Dangerous Function Cast (ID: 1057.26503) */
 1067         command_unbind("whowas", (SIGNAL_FUNC) cmd_whowas);   /* Dangerous Function Cast (ID: 1056.26502) */
 1068         command_unbind("ping", (SIGNAL_FUNC) cmd_ping);   /* Dangerous Function Cast (ID: 1055.26501) */




Change Warning 1065.26511 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: