Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at themes.c:1388

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2186.27276
Procedure: themes_deinit
Trace: view
Modified: Thu Nov 26 11:02:04 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/fe-common/core/themes.c
   Enter themes_deinit
 1378 {
 1379         while (themes != NULL)
 1380                 theme_destroy(themes->data);
 1381         theme_destroy(internal_theme);
 1382  
 1383         g_hash_table_destroy(default_formats);
 1384         default_formats = NULL;
 1385  
 1386         command_unbind("format", (SIGNAL_FUNC) cmd_format);   /* Dangerous Function Cast (ID: 2190.27278) */
 1387         command_unbind("save", (SIGNAL_FUNC) cmd_save);   /* Dangerous Function Cast (ID: 2188.27277) */
Wrong Number of Parameters1388         signal_remove("complete command format", (SIGNAL_FUNC) sig_complete_format);     /* Dangerous Function Cast */
 1389         signal_remove("irssi init finished", (SIGNAL_FUNC) sig_print_errors);   /* Dangerous Function Cast (ID: 2183.27275) */
 1390         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 2180.27274) */
 1391         signal_remove("setup reread", (SIGNAL_FUNC) themes_reload);   /* Dangerous Function Cast (ID: 2193.27279) */
 1392 } 




Change Warning 2186.27276 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: