Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 998.26444
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
 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> */ 
 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) */
Wrong Number of Parameters978         command_bind_irc("accept", NULL, (SIGNAL_FUNC) cmd_accept);     /* Dangerous Function Cast */
 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) */
 985         /* SYNTAX: LINKS [[<server>] <mask>] */ 
 986         command_bind_irc("links", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1002.26448) */
 987         /* SYNTAX: LUSERS [<server mask> [<remote server>]] */ 
 988         command_bind_irc("lusers", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1003.26449) */




Change Warning 998.26444 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: