Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1042.26488
Procedure: irc_commands_deinit
Trace: view
Modified: Thu Nov 26 10:58:50 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_deinit
 1071         command_unbind("ison", (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 1052.26498) */
 1072         command_unbind("accept", (SIGNAL_FUNC) cmd_accept);   /* Dangerous Function Cast (ID: 1051.26497) */
 1073         command_unbind("admin", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1050.26496) */
 1074         command_unbind("info", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1049.26495) */
 1075     command_unbind("knock", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1048.26494) */
 1076         command_unbind("links", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1047.26493) */
 1077         command_unbind("lusers", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1046.26492) */
 1078         command_unbind("map", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1045.26491) */
 1079         command_unbind("motd", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1044.26490) */
 1080         command_unbind("rehash", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1043.26489) */
Wrong Number of Parameters1081         command_unbind("stats", (SIGNAL_FUNC) command_self);     /* Dangerous Function Cast */
 1082         command_unbind("time", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1041.26487) */
 1083         command_unbind("trace", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1040.26486) */
 1084         command_unbind("version", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1039.26485) */
 1085         command_unbind("servlist", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1038.26484) */
 1086         command_unbind("silence", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1037.26483) */
 1087         command_unbind("unsilence", (SIGNAL_FUNC) cmd_unsilence);   /* Dangerous Function Cast (ID: 1093.26539) */
 1088         command_unbind("sconnect", (SIGNAL_FUNC) cmd_sconnect);   /* Dangerous Function Cast (ID: 1092.26538) */
 1089         command_unbind("squery", (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 1091.26537) */
 1090         command_unbind("die", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1090.26536) */
 1091         command_unbind("hash", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1089.26535) */




Change Warning 1042.26488 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: