Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1025.26471
Procedure: irc_commands_init
Trace: view
Modified: Thu Nov 26 10:58:46 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
 1018         command_bind_irc("restart", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1019.26465) */
 1019         /* SYNTAX: RPING <server> */ 
 1020         command_bind_irc("rping", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1020.26466) */
 1021         /* SYNTAX: SQUIT <server>|<mask> <reason> */ 
 1022         command_bind_irc("squit", NULL, (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 1021.26467) */
 1023         /* SYNTAX: UPING <server> */ 
 1024         command_bind_irc("uping", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1022.26468) */
 1025         /* SYNTAX: USERHOST <nicks> */ 
 1026         command_bind_irc("userhost", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1023.26469) */
 1027         command_bind_irc("quote", NULL, (SIGNAL_FUNC) cmd_quote);   /* Dangerous Function Cast (ID: 1024.26470) */
Wrong Number of Parameters1028         command_bind_irc("wall", NULL, (SIGNAL_FUNC) cmd_wall);     /* Dangerous Function Cast */
 1029         command_bind_irc("wait", NULL, (SIGNAL_FUNC) cmd_wait);   /* Dangerous Function Cast (ID: 1026.26472) */
 1030         /* SYNTAX: WALLOPS <message> */ 
 1031         command_bind_irc("wallops", NULL, (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 1027.26473) */
 1032         command_bind_irc("kickban", NULL, (SIGNAL_FUNC) cmd_kickban);   /* Dangerous Function Cast (ID: 1028.26474) */
 1033         command_bind_irc("knockout", NULL, (SIGNAL_FUNC) cmd_knockout);   /* Dangerous Function Cast (ID: 1029.26475) */
 1034         command_bind_irc("server purge", NULL, (SIGNAL_FUNC) cmd_server_purge);   /* Dangerous Function Cast (ID: 1030.26476) */
 1035  
 1036         signal_add("channel destroyed", (SIGNAL_FUNC) sig_channel_destroyed);   /* Dangerous Function Cast (ID: 1036.26482) */
 1037         signal_add("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 1035.26481) */
 1038         signal_add("whois try whowas", (SIGNAL_FUNC) sig_whois_try_whowas);   /* Dangerous Function Cast (ID: 1034.26480) */




Change Warning 1025.26471 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: