Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1721.1721
Procedure: perl_themes_init
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_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: 1722.1722) */
 58 }
 59  
 60 #ifndef PERL_UNUSED_VAR 
 61 #  define PERL_UNUSED_VAR(var) if (0) var = var 
 62 #endif 




Change Warning 1721.1721 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: