Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3509.27828
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
 444 {
 445         int argc = G_N_ELEMENTS(perl_args);
 446         char **argv = perl_args;
 447  
 448         PERL_SYS_INIT3(&argc, &argv, &environ);
 449         print_script_errors = 1;
 450         settings_add_str("perl", "perl_use_lib", PERL_USE_LIB);
 451  
 452         /*PL_perl_destruct_level = 1; - this crashes with some people.. */ 
 453         perl_signals_init();
Wrong Number of Parameters454         signal_add_last("script error", (SIGNAL_FUNC) sig_script_error);     /* Dangerous Function Cast */
 455  
 456         perl_scripts_init();
 457  
 458         if (irssi_init_finished)
 459                 perl_scripts_autorun();
 460         else {
 461                 signal_add("irssi init finished", (SIGNAL_FUNC) sig_autorun);   /* Dangerous Function Cast (ID: 3506.27827) */
 462                 settings_check();
 463         }
 464  




Change Warning 3509.27828 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: