Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 995.26441
Procedure: irc_commands_init
Trace: view
Modified: Thu Nov 26 10:58:39 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
 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) */
 971         command_bind_irc("whowas", NULL, (SIGNAL_FUNC) cmd_whowas);   /* Dangerous Function Cast (ID: 992.26438) */
 972         command_bind_irc("ping", NULL, (SIGNAL_FUNC) cmd_ping);   /* Dangerous Function Cast (ID: 993.26439) */
 973         /* SYNTAX: KILL <nick> <reason> */ 
Wrong Number of Parameters974         command_bind_irc("kill", NULL, (SIGNAL_FUNC) command_2self);     /* Dangerous Function Cast */
 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>] */ 
 982         command_bind_irc("info", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1000.26446) */
 983     /* SYNTAX: KNOCK <channel> */ 
 984     command_bind_irc("knock", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1001.26447) */




Change Warning 995.26441 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: