Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at irssi.c:217

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 2074.2074
Procedure: textui_deinit
Trace: View
Modified: Wed Sep 2 11:48:43 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-text/irssi.c
   Enter textui_deinit
 207         term_refresh_freeze();
 208         while (modules != NULL)
 209                 module_unload(modules->data);
 210  
 211 #ifdef HAVE_STATIC_PERL 
 212         perl_core_deinit();
 213         fe_perl_deinit();
 214 #endif 
 215  
 216         dirty_check(); /* one last time to print any quit messages */ 
Wrong Number of Parameters217         signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);     /* Dangerous Function Cast */
 218  
 219         if (dummy)
 220                 term_dummy_deinit();
 221         else {
 222                 lastlog_deinit();
 223                 statusbar_deinit();
 224                 gui_printtext_deinit();
 225                 gui_readline_deinit();
 226                 gui_windows_deinit();
 227                 mainwindows_layout_deinit();




Change Warning 2074.2074 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: