Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at Themes.c:57

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1722.1722
Procedure: perl_themes_deinit
Trace: View
Modified: Wed Sep 2 11:44:55 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/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: 1721.1721) */
 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 1722.1722 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: