Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 346.346
Procedure: irc_commands_deinit
Trace: View
Modified: Wed Sep 2 11:33:45 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
 1060         command_unbind("invite", (SIGNAL_FUNC) cmd_invite);   /* Dangerous Function Cast (ID: 356.356) */
 1061         command_unbind("list", (SIGNAL_FUNC) cmd_list);   /* Dangerous Function Cast (ID: 355.355) */
 1062         command_unbind("who", (SIGNAL_FUNC) cmd_who);   /* Dangerous Function Cast (ID: 354.354) */
 1063         command_unbind("names", (SIGNAL_FUNC) cmd_names);   /* Dangerous Function Cast (ID: 353.353) */
 1064         command_unbind("nick", (SIGNAL_FUNC) cmd_nick);   /* Dangerous Function Cast (ID: 352.352) */
 1065         command_unbind("note", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 351.351) */
 1066         command_unbind("whois", (SIGNAL_FUNC) cmd_whois);   /* Dangerous Function Cast (ID: 350.350) */
 1067         command_unbind("whowas", (SIGNAL_FUNC) cmd_whowas);   /* Dangerous Function Cast (ID: 349.349) */
 1068         command_unbind("ping", (SIGNAL_FUNC) cmd_ping);   /* Dangerous Function Cast (ID: 348.348) */
 1069         command_unbind("kill", (SIGNAL_FUNC) command_2self);   /* Dangerous Function Cast (ID: 347.347) */
Wrong Number of Parameters1070         command_unbind("away", (SIGNAL_FUNC) cmd_away);     /* Dangerous Function Cast */
 1071         command_unbind("ison", (SIGNAL_FUNC) command_1self);   /* Dangerous Function Cast (ID: 345.345) */
 1072         command_unbind("accept", (SIGNAL_FUNC) cmd_accept);   /* Dangerous Function Cast (ID: 344.344) */
 1073         command_unbind("admin", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 343.343) */
 1074         command_unbind("info", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 342.342) */
 1075     command_unbind("knock", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 341.341) */
 1076         command_unbind("links", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 340.340) */
 1077         command_unbind("lusers", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 339.339) */
 1078         command_unbind("map", (SIGNAL_FUNC) command_self);   /* Dangerous Function Cast (ID: 338.338) */
 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) */




Change Warning 346.346 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: