Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1339.1339
Procedure: fe_irc_commands_deinit
Trace: View
Modified: Wed Sep 2 11:40:30 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/fe-common/irc/fe-irc-commands.c
   Enter fe_irc_commands_deinit
 419 void fe_irc_commands_deinit(void) 
 420 {
 421         command_unbind("me", (SIGNAL_FUNC) cmd_me);   /* Dangerous Function Cast (ID: 1349.1349) */
 422         command_unbind("action", (SIGNAL_FUNC) cmd_action);   /* Dangerous Function Cast (ID: 1340.1340) */
 423         command_unbind("notice", (SIGNAL_FUNC) cmd_notice);   /* Dangerous Function Cast (ID: 1341.1341) */
 424         command_unbind("ctcp", (SIGNAL_FUNC) cmd_ctcp);   /* Dangerous Function Cast (ID: 1350.1350) */
 425         command_unbind("nctcp", (SIGNAL_FUNC) cmd_nctcp);   /* Dangerous Function Cast (ID: 1342.1342) */
 426         command_unbind("wall", (SIGNAL_FUNC) cmd_wall);   /* Dangerous Function Cast (ID: 1343.1343) */
 427         command_unbind("ban", (SIGNAL_FUNC) cmd_ban);   /* Dangerous Function Cast (ID: 1344.1344) */
 428         command_unbind("ver", (SIGNAL_FUNC) cmd_ver);   /* Dangerous Function Cast (ID: 1345.1345) */
Wrong Number of Parameters429         command_unbind("topic", (SIGNAL_FUNC) cmd_topic);     /* Dangerous Function Cast */
 430         command_unbind("ts", (SIGNAL_FUNC) cmd_ts);   /* Dangerous Function Cast (ID: 1346.1346) */
 431         command_unbind("oper", (SIGNAL_FUNC) cmd_oper);   /* Dangerous Function Cast (ID: 1347.1347) */
 432         command_unbind("sethost", (SIGNAL_FUNC) cmd_sethost);   /* Dangerous Function Cast (ID: 1348.1348) */
 433 




Change Warning 1339.1339 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: