Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 323.323
Procedure: irc_commands_init
Trace: View
Modified: Wed Sep 2 11:33:35 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
 1024         command_bind_irc("uping", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 315.315) */
 1025         /* SYNTAX: USERHOST <nicks> */ 
 1026         command_bind_irc("userhost", NULL, (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 316.316) */
 1027         command_bind_irc("quote", NULL, (SIGNAL_FUNC) cmd_quote);   /* Dangerous Function Cast (ID: 317.317) */
 1028         command_bind_irc("wall", NULL, (SIGNAL_FUNC) cmd_wall);   /* Dangerous Function Cast (ID: 318.318) */
 1029         command_bind_irc("wait", NULL, (SIGNAL_FUNC) cmd_wait);   /* Dangerous Function Cast (ID: 319.319) */
 1030         /* SYNTAX: WALLOPS <message> */ 
 1031         command_bind_irc("wallops", NULL, (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 320.320) */
 1032         command_bind_irc("kickban", NULL, (SIGNAL_FUNC) cmd_kickban);   /* Dangerous Function Cast (ID: 321.321) */
 1033         command_bind_irc("knockout", NULL, (SIGNAL_FUNC) cmd_knockout);   /* Dangerous Function Cast (ID: 322.322) */
Wrong Number of Parameters1034         command_bind_irc("server purge", NULL, (SIGNAL_FUNC) cmd_server_purge);     /* Dangerous Function Cast */
 1035  
 1036         signal_add("channel destroyed", (SIGNAL_FUNC) sig_channel_destroyed);   /* Dangerous Function Cast (ID: 329.329) */
 1037         signal_add("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 328.328) */
 1038         signal_add("whois try whowas", (SIGNAL_FUNC) sig_whois_try_whowas);   /* Dangerous Function Cast (ID: 327.327) */
 1039         signal_add("whois event", (SIGNAL_FUNC) event_whois);   /* Dangerous Function Cast (ID: 326.326) */
 1040         signal_add("whois end", (SIGNAL_FUNC) event_end_of_whois);   /* Dangerous Function Cast (ID: 325.325) */
 1041         signal_add("whowas event", (SIGNAL_FUNC) event_whowas);   /* Dangerous Function Cast (ID: 324.324) */
 1042  
 1043         command_set_options("connect", "+ircnet");
 1044         command_set_options("topic", "delete");




Change Warning 323.323 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: