Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3506.27827
Procedure: perl_core_init
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 perl_core_init
 451  
 452         /*PL_perl_destruct_level = 1; - this crashes with some people.. */ 
 453         perl_signals_init();
 454         signal_add_last("script error", (SIGNAL_FUNC) sig_script_error);   /* Dangerous Function Cast (ID: 3509.27828) */
 455  
 456         perl_scripts_init();
 457  
 458         if (irssi_init_finished)
 459                 perl_scripts_autorun();
 460         else {
Wrong Number of Parameters461                 signal_add("irssi init finished", (SIGNAL_FUNC) sig_autorun);     /* Dangerous Function Cast */
 462                 settings_check();
 463         }
 464  
 465         module_register("perl", "core");
 466 } 
 467  
 468 void perl_core_deinit(void)
 469 {
 470         perl_scripts_deinit();
 471         perl_signals_deinit();




Change Warning 3506.27827 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: