Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at bans.c:355

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 885.26331
Procedure: bans_deinit
Trace: view
Modified: Thu Nov 26 10:58:13 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/bans.c
   Enter bans_deinit
 345         command_set_options("unban", "first last");
 346  
 347         read_settings();
 348         signal_add("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 883.26329) */
 349 }
 350  
 351 void bans_deinit(void) 
 352 {
 353         g_free_not_null(default_ban_type_str);
 354  
Wrong Number of Parameters355         command_unbind("ban", (SIGNAL_FUNC) cmd_ban);     /* Dangerous Function Cast */
 356         command_unbind("unban", (SIGNAL_FUNC) cmd_unban);   /* Dangerous Function Cast (ID: 886.26332) */
 357  
 358         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 884.26330) */
 359 } 




Change Warning 885.26331 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: