Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 297.297
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:24 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
 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>] */ 
 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 */ 
Wrong Number of Parameters990         command_bind_irc("map", NULL, (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 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>] */ 
 996         command_bind_irc("stats", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 300.300) */
 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) */




Change Warning 297.297 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: