Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 992.26438
Procedure: irc_commands_init
Trace: view
Modified: Thu Nov 26 10:58:38 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_init
 961         command_bind_irc("kick", NULL, (SIGNAL_FUNC) cmd_kick);   /* Dangerous Function Cast (ID: 983.26429) */
 962         command_bind_irc("topic", NULL, (SIGNAL_FUNC) cmd_topic);   /* Dangerous Function Cast (ID: 984.26430) */
 963         command_bind_irc("invite", NULL, (SIGNAL_FUNC) cmd_invite);   /* Dangerous Function Cast (ID: 985.26431) */
 964         command_bind_irc("list", NULL, (SIGNAL_FUNC) cmd_list);   /* Dangerous Function Cast (ID: 986.26432) */
 965         command_bind_irc("who", NULL, (SIGNAL_FUNC) cmd_who);   /* Dangerous Function Cast (ID: 987.26433) */
 966         command_bind_irc("names", NULL, (SIGNAL_FUNC) cmd_names);   /* Dangerous Function Cast (ID: 988.26434) */
 967         command_bind_irc("nick", NULL, (SIGNAL_FUNC) cmd_nick);   /* Dangerous Function Cast (ID: 989.26435) */
 968         /* SYNTAX: NOTE <command> [&<password>] [+|-<flags>] [<arguments>] */ 
 969         command_bind_irc("note", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 990.26436) */
 970         command_bind_irc("whois", NULL, (SIGNAL_FUNC) cmd_whois);   /* Dangerous Function Cast (ID: 991.26437) */
Wrong Number of Parameters971         command_bind_irc("whowas", NULL, (SIGNAL_FUNC) cmd_whowas);     /* Dangerous Function Cast */
 972         command_bind_irc("ping", NULL, (SIGNAL_FUNC) cmd_ping);   /* Dangerous Function Cast (ID: 993.26439) */
 973         /* SYNTAX: KILL <nick> <reason> */ 
 974         command_bind_irc("kill", NULL, (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 995.26441) */
 975         command_bind_irc("away", NULL, (SIGNAL_FUNC) cmd_away);   /* Dangerous Function Cast (ID: 996.26442) */
 976         /* SYNTAX: ISON <nicks> */ 
 977         command_bind_irc("ison", NULL, (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 997.26443) */
 978         command_bind_irc("accept", NULL, (SIGNAL_FUNC) cmd_accept);   /* Dangerous Function Cast (ID: 998.26444) */
 979         /* SYNTAX: ADMIN [<server>|<nickname>] */ 
 980         command_bind_irc("admin", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 999.26445) */
 981         /* SYNTAX: INFO [<server>] */ 




Change Warning 992.26438 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: