Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 314.314
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:31 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
 1012         /* SYNTAX: DIE */ 
 1013         command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 309.309) */
 1014         /* SYNTAX: HASH */ 
 1015         command_bind_irc("hash", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 310.310) */
 1016         command_bind_irc("oper", NULL, (SIGNAL_FUNC) cmd_oper);   /* Dangerous Function Cast (ID: 311.311) */
 1017         /* SYNTAX: RESTART */ 
 1018         command_bind_irc("restart", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 312.312) */
 1019         /* SYNTAX: RPING <server> */ 
 1020         command_bind_irc("rping", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 313.313) */
 1021         /* SYNTAX: SQUIT <server>|<mask> <reason> */ 
Wrong Number of Parameters1022         command_bind_irc("squit", NULL, (SIGNAL_FUNC) command_2self);     /* Dangerous Function Cast */
 1023         /* SYNTAX: UPING <server> */ 
 1024         command_bind_irc("uping", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 315.315) */
 1025         /* SYNTAX: USERHOST <nicks> */ 
 1026         command_bind_irc("userhost", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 316.316) */
 1027         command_bind_irc("quote", NULL, (SIGNAL_FUNC) cmd_quote);   /* Dangerous Function Cast (ID: 317.317) */
 1028         command_bind_irc("wall", NULL, (SIGNAL_FUNC) cmd_wall);   /* Dangerous Function Cast (ID: 318.318) */
 1029         command_bind_irc("wait", NULL, (SIGNAL_FUNC) cmd_wait);   /* Dangerous Function Cast (ID: 319.319) */
 1030         /* SYNTAX: WALLOPS <message> */ 
 1031         command_bind_irc("wallops", NULL, (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 320.320) */
 1032         command_bind_irc("kickban", NULL, (SIGNAL_FUNC) cmd_kickban);   /* Dangerous Function Cast (ID: 321.321) */




Change Warning 314.314 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: