Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at perl-core.c:438

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3512.27829
Procedure: sig_autorun
Trace: view
Modified: Thu Nov 26 11:04: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
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/perl/perl-core.c
   Enter sig_autorun
 428         }
 429  
 430         if (script != NULL) {
 431                 perl_script_unload(script);
 432                 signal_stop();
 433         }
 434 }
 435  
 436 static void sig_autorun(void) 
 437 {
Wrong Number of Parameters438         signal_remove("irssi init finished", (SIGNAL_FUNC) sig_autorun);     /* Dangerous Function Cast */
 439  
 440         perl_scripts_autorun();
 441 } 
 442  
 443 void perl_core_init(void)
 444 {
 445         int argc = G_N_ELEMENTS(perl_args);
 446         char **argv = perl_args;
 447  
 448         PERL_SYS_INIT3(&argc, &argv, &environ);




Change Warning 3512.27829 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: