Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 384.384
Procedure: irc_commands_deinit
Trace: View
Modified: Wed Sep 2 11:34:01 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
 1079         command_unbind("motd", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 337.337) */
 1080         command_unbind("rehash", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 336.336) */
 1081         command_unbind("stats", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 335.335) */
 1082         command_unbind("time", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 334.334) */
 1083         command_unbind("trace", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 333.333) */
 1084         command_unbind("version", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 332.332) */
 1085         command_unbind("servlist", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 331.331) */
 1086         command_unbind("silence", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 330.330) */
 1087         command_unbind("unsilence", (SIGNAL_FUNC) cmd_unsilence);   /* Dangerous Function Cast (ID: 386.386) */
 1088         command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect);   /* Dangerous Function Cast (ID: 385.385) */
Wrong Number of Parameters1089         command_unbind("squery", (SIGNAL_FUNC) command_2self);     /* Dangerous Function Cast */
 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) */
 1098         command_unbind("quote", (SIGNAL_FUNC) cmd_quote);   /* Dangerous Function Cast (ID: 375.375) */
 1099         command_unbind("wall", (SIGNAL_FUNC) cmd_wall);   /* Dangerous Function Cast (ID: 374.374) */




Change Warning 384.384 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: