Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1011.26457
Procedure: irc_commands_init
Trace: view
Modified: Thu Nov 26 10:58:43 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
 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) */
 999         /* SYNTAX: TRACE [<server>|<nick>] */ 
 1000         command_bind_irc("trace", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1009.26455) */
 1001         /* SYNTAX: VERSION [<server>|<nick>] */ 
 1002         command_bind_irc("version", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1010.26456) */
 1003         /* SYNTAX: SERVLIST [<server mask>] */ 
Wrong Number of Parameters1004         command_bind_irc("servlist", NULL, (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 1005         /* SYNTAX: SILENCE [[+|-]<nick!user@host>]
 1006                    SILENCE [<nick>] */ 
 1007         command_bind_irc("silence", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1012.26458) */
 1008         command_bind_irc("unsilence", NULL, (SIGNAL_FUNC) cmd_unsilence);   /* Dangerous Function Cast (ID: 1013.26459) */
 1009         command_bind_irc("sconnect", NULL, (SIGNAL_FUNC) cmd_sconnect);   /* Dangerous Function Cast (ID: 1014.26460) */
 1010         /* SYNTAX: SQUERY <service> [<commands>] */ 
 1011         command_bind_irc("squery", NULL, (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 1015.26461) */
 1012         /* SYNTAX: DIE */ 
 1013         command_bind_irc("die", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1016.26462) */
 1014         /* SYNTAX: HASH */ 




Change Warning 1011.26457 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: