Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 300.300
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:25 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
 986         command_bind_irc("links", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 295.295) */
 987         /* SYNTAX: LUSERS [<server mask> [<remote server>]] */ 
 988         command_bind_irc("lusers", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 296.296) */
 989         /* SYNTAX: MAP */ 
 990         command_bind_irc("map", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 297.297) */
 991         /* SYNTAX: MOTD [<server>|<nick>] */ 
 992         command_bind_irc("motd", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 298.298) */
 993         /* SYNTAX: REHASH [<option>] */ 
 994         command_bind_irc("rehash", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 299.299) */
 995         /* SYNTAX: STATS <type> [<server>] */ 
Wrong Number of Parameters996         command_bind_irc("stats", NULL, (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 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>] */ 




Change Warning 300.300 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: