Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3662.27873
Procedure: perl_themes_init
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_init
 42         theme_unregister_module(package);
 43 }
 44  
 45 static void sig_script_destroyed(PERL_SCRIPT_REC *script)
 46 {
 47         perl_unregister_theme(script->package);
 48 }
 49  
 50 void perl_themes_init(void) 
 51 {
Wrong Number of Parameters52         signal_add("script destroyed", (SIGNAL_FUNC) sig_script_destroyed);     /* Dangerous Function Cast */
 53 } 
 54  
 55 void perl_themes_deinit(void)
 56 {
 57         signal_remove("script destroyed", (SIGNAL_FUNC) sig_script_destroyed);   /* Dangerous Function Cast (ID: 3664.27874) */
 58 }
 59  
 60 #ifndef PERL_UNUSED_VAR 
 61 #  define PERL_UNUSED_VAR(var) if (0) var = var 
 62 #endif 




Change Warning 3662.27873 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: