Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 305.305
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:27 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
 997         /* SYNTAX: TIME [<server>|<nick>] */ 
 998         command_bind_irc("time", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 301.301) */
 999         /* SYNTAX: TRACE [<server>|<nick>] */ 
 1000         command_bind_irc("trace", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 302.302) */
 1001         /* SYNTAX: VERSION [<server>|<nick>] */ 
 1002         command_bind_irc("version", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 303.303) */
 1003         /* SYNTAX: SERVLIST [<server mask>] */ 
 1004         command_bind_irc("servlist", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 304.304) */
 1005         /* SYNTAX: SILENCE [[+|-]<nick!user@host>]
 1006                    SILENCE [<nick>] */ 
Wrong Number of Parameters1007         command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 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 */ 
 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 */ 




Change Warning 305.305 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: