Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 375.375
Procedure: irc_commands_deinit
Trace: View
Modified: Wed Sep 2 11:33:57 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_deinit
 1088         command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect);   /* Dangerous Function Cast (ID: 385.385) */
 1089         command_unbind("squery", (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 384.384) */
 1090         command_unbind("die", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 383.383) */
 1091         command_unbind("hash", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 382.382) */
 1092         command_unbind("oper", (SIGNAL_FUNC) cmd_oper);   /* Dangerous Function Cast (ID: 381.381) */
 1093         command_unbind("restart", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 380.380) */
 1094         command_unbind("rping", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 379.379) */
 1095         command_unbind("squit", (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 378.378) */
 1096         command_unbind("uping", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 377.377) */
 1097         command_unbind("userhost", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 376.376) */
Wrong Number of Parameters1098         command_unbind("quote", (SIGNAL_FUNC) cmd_quote);     /* Dangerous Function Cast */
 1099         command_unbind("wall", (SIGNAL_FUNC) cmd_wall);   /* Dangerous Function Cast (ID: 374.374) */
 1100         command_unbind("wait", (SIGNAL_FUNC) cmd_wait);   /* Dangerous Function Cast (ID: 373.373) */
 1101         command_unbind("wallops", (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 372.372) */
 1102         command_unbind("kickban", (SIGNAL_FUNC) cmd_kickban);   /* Dangerous Function Cast (ID: 371.371) */
 1103         command_unbind("knockout", (SIGNAL_FUNC) cmd_knockout);   /* Dangerous Function Cast (ID: 370.370) */
 1104         command_unbind("server purge", (SIGNAL_FUNC) cmd_server_purge);   /* Dangerous Function Cast (ID: 369.369) */
 1105  
 1106         signal_remove("channel destroyed", (SIGNAL_FUNC) sig_channel_destroyed);   /* Dangerous Function Cast (ID: 368.368) */
 1107         signal_remove("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 367.367) */
 1108         signal_remove("whois try whowas", (SIGNAL_FUNC) sig_whois_try_whowas);   /* Dangerous Function Cast (ID: 366.366) */




Change Warning 375.375 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: