Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 310.310
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:30 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
 1005         /* SYNTAX: SILENCE [[+|-]<nick!user@host>]
 1006                    SILENCE [<nick>] */ 
 1007         command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 305.305) */
 1008         command_bind_irc("unsilence", NULL, (SIGNAL_FUNC) cmd_unsilence);   /* Dangerous Function Cast (ID: 306.306) */
 1009         command_bind_irc("sconnect", NULL, (SIGNAL_FUNC) cmd_sconnect);   /* Dangerous Function Cast (ID: 307.307) */
 1010         /* SYNTAX: SQUERY <service> [<commands>] */ 
 1011         command_bind_irc("squery", NULL, (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 308.308) */
 1012         /* SYNTAX: DIE */ 
 1013         command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 309.309) */
 1014         /* SYNTAX: HASH */ 
Wrong Number of Parameters1015         command_bind_irc("hash", NULL, (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 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> */ 
 1022         command_bind_irc("squit", NULL, (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 314.314) */
 1023         /* SYNTAX: UPING <server> */ 
 1024         command_bind_irc("uping", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 315.315) */
 1025         /* SYNTAX: USERHOST <nicks> */ 




Change Warning 310.310 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: