Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1079.26525
Procedure: irc_commands_deinit
Trace: view
Modified: Thu Nov 26 10:58:58 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
 1091         command_unbind("hash", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1089.26535) */
 1092         command_unbind("oper", (SIGNAL_FUNC) cmd_oper);   /* Dangerous Function Cast (ID: 1088.26534) */
 1093         command_unbind("restart", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1087.26533) */
 1094         command_unbind("rping", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1086.26532) */
 1095         command_unbind("squit", (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 1085.26531) */
 1096         command_unbind("uping", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1084.26530) */
 1097         command_unbind("userhost", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 1083.26529) */
 1098         command_unbind("quote", (SIGNAL_FUNC) cmd_quote);   /* Dangerous Function Cast (ID: 1082.26528) */
 1099         command_unbind("wall", (SIGNAL_FUNC) cmd_wall);   /* Dangerous Function Cast (ID: 1081.26527) */
 1100         command_unbind("wait", (SIGNAL_FUNC) cmd_wait);   /* Dangerous Function Cast (ID: 1080.26526) */
Wrong Number of Parameters1101         command_unbind("wallops", (SIGNAL_FUNC) command_1self);     /* Dangerous Function Cast */
 1102         command_unbind("kickban", (SIGNAL_FUNC) cmd_kickban);   /* Dangerous Function Cast (ID: 1078.26524) */
 1103         command_unbind("knockout", (SIGNAL_FUNC) cmd_knockout);   /* Dangerous Function Cast (ID: 1077.26523) */
 1104         command_unbind("server purge", (SIGNAL_FUNC) cmd_server_purge);   /* Dangerous Function Cast (ID: 1076.26522) */
 1105  
 1106         signal_remove("channel destroyed", (SIGNAL_FUNC) sig_channel_destroyed);   /* Dangerous Function Cast (ID: 1075.26521) */
 1107         signal_remove("server disconnected", (SIGNAL_FUNC) sig_server_disconnected);   /* Dangerous Function Cast (ID: 1074.26520) */
 1108         signal_remove("whois try whowas", (SIGNAL_FUNC) sig_whois_try_whowas);   /* Dangerous Function Cast (ID: 1073.26519) */
 1109         signal_remove("whois event", (SIGNAL_FUNC) event_whois);   /* Dangerous Function Cast (ID: 1072.26518) */
 1110         signal_remove("whois end", (SIGNAL_FUNC) event_end_of_whois);   /* Dangerous Function Cast (ID: 1071.26517) */
 1111         signal_remove("whowas event", (SIGNAL_FUNC) event_whowas);   /* Dangerous Function Cast (ID: 1070.26516) */




Change Warning 1079.26525 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: