Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at irc-commands.c:988

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1003.26449
Procedure: irc_commands_init
Trace: view
Modified: Thu Nov 26 10:58:40 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
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/irc/core/irc-commands.c
   Enter irc_commands_init
 978         command_bind_irc("accept", NULL, (SIGNAL_FUNC) cmd_accept);   /* Dangerous Function Cast (ID: 998.26444) */
 979         /* SYNTAX: ADMIN [<server>|<nickname>] */ 
 980         command_bind_irc("admin", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 999.26445) */
 981         /* SYNTAX: INFO [<server>] */ 
 982         command_bind_irc("info", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1000.26446) */
 983     /* SYNTAX: KNOCK <channel> */ 
 984     command_bind_irc("knock", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1001.26447) */
 985         /* SYNTAX: LINKS [[<server>] <mask>] */ 
 986         command_bind_irc("links", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1002.26448) */
 987         /* SYNTAX: LUSERS [<server mask> [<remote server>]] */ 
Wrong Number of Parameters988         command_bind_irc("lusers", NULL, (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 989         /* SYNTAX: MAP */ 
 990         command_bind_irc("map", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1004.26450) */
 991         /* SYNTAX: MOTD [<server>|<nick>] */ 
 992         command_bind_irc("motd", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1005.26451) */
 993         /* SYNTAX: REHASH [<option>] */ 
 994         command_bind_irc("rehash", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1006.26452) */
 995         /* SYNTAX: STATS <type> [<server>] */ 
 996         command_bind_irc("stats", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1007.26453) */
 997         /* SYNTAX: TIME [<server>|<nick>] */ 
 998         command_bind_irc("time", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1008.26454) */




Change Warning 1003.26449 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: