Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at irc-commands.c:975

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 289.289
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:20 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/core/irc-commands.c
   Enter irc_commands_init
 965         command_bind_irc("who", NULL, (SIGNAL_FUNC) cmd_who);   /* Dangerous Function Cast (ID: 280.280) */
 966         command_bind_irc("names", NULL, (SIGNAL_FUNC) cmd_names);   /* Dangerous Function Cast (ID: 281.281) */
 967         command_bind_irc("nick", NULL, (SIGNAL_FUNC) cmd_nick);   /* Dangerous Function Cast (ID: 282.282) */
 968         /* SYNTAX: NOTE <command> [&<password>] [+|-<flags>] [<arguments>] */ 
 969         command_bind_irc("note", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 283.283) */
 970         command_bind_irc("whois", NULL, (SIGNAL_FUNC) cmd_whois);   /* Dangerous Function Cast (ID: 284.284) */
 971         command_bind_irc("whowas", NULL, (SIGNAL_FUNC) cmd_whowas);   /* Dangerous Function Cast (ID: 285.285) */
 972         command_bind_irc("ping", NULL, (SIGNAL_FUNC) cmd_ping);   /* Dangerous Function Cast (ID: 286.286) */
 973         /* SYNTAX: KILL <nick> <reason> */ 
 974         command_bind_irc("kill", NULL, (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 288.288) */
Wrong Number of Parameters975         command_bind_irc("away", NULL, (SIGNAL_FUNC) cmd_away);     /* Dangerous Function Cast */
 976         /* SYNTAX: ISON <nicks> */ 
 977         command_bind_irc("ison", NULL, (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 290.290) */
 978         command_bind_irc("accept", NULL, (SIGNAL_FUNC) cmd_accept);   /* Dangerous Function Cast (ID: 291.291) */
 979         /* SYNTAX: ADMIN [<server>|<nickname>] */ 
 980         command_bind_irc("admin", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 292.292) */
 981         /* SYNTAX: INFO [<server>] */ 
 982         command_bind_irc("info", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 293.293) */
 983     /* SYNTAX: KNOCK <channel> */ 
 984     command_bind_irc("knock", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 294.294) */
 985         /* SYNTAX: LINKS [[<server>] <mask>] */ 




Change Warning 289.289 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: