Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at perl-core.c:438

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1677.1677
Procedure: sig_autorun
Trace: View
Modified: Wed Sep 2 11:44:32 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/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 1677.1677 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: