Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at themes.c:1391

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1127.1127
Procedure: themes_deinit
Trace: View
Modified: Wed Sep 2 11:39:06 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/core/themes.c
   Enter themes_deinit
 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: 1126.1126) */
 1387         command_unbind("save", (SIGNAL_FUNC) cmd_save);   /* Dangerous Function Cast (ID: 1125.1125) */
 1388         signal_remove("complete command format", (SIGNAL_FUNC) sig_complete_format);   /* Dangerous Function Cast (ID: 1124.1124) */
 1389         signal_remove("irssi init finished", (SIGNAL_FUNC) sig_print_errors);   /* Dangerous Function Cast (ID: 1123.1123) */
 1390         signal_remove("setup changed", (SIGNAL_FUNC) read_settings);   /* Dangerous Function Cast (ID: 1122.1122) */
Wrong Number of Parameters1391         signal_remove("setup reread", (SIGNAL_FUNC) themes_reload);     /* Dangerous Function Cast */
 1392 




Change Warning 1127.1127 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: