Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at Themes.c:57

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3664.27874
Procedure: perl_themes_deinit
Trace: view
Modified: Thu Nov 26 11:05:19 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/perl/ui/Themes.c
   Enter perl_themes_deinit
 47         perl_unregister_theme(script->package);
 48 }
 49  
 50 void perl_themes_init(void)
 51 {
 52         signal_add("script destroyed", (SIGNAL_FUNC) sig_script_destroyed);   /* Dangerous Function Cast (ID: 3662.27873) */
 53 }
 54  
 55 void perl_themes_deinit(void) 
 56 {
Wrong Number of Parameters57         signal_remove("script destroyed", (SIGNAL_FUNC) sig_script_destroyed);     /* Dangerous Function Cast */
 58 } 
 59  
 60 #ifndef PERL_UNUSED_VAR 
 61 #  define PERL_UNUSED_VAR(var) if (0) var = var 
 62 #endif 
 63  
 64 #line 65 "Themes.c"
 65  
 66 XS(XS_Irssi_current_theme); /* prototype to pass -Wmissing-prototypes */ 
 67 XS(XS_Irssi_current_theme) 




Change Warning 3664.27874 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: