Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at perl-fe.c:272

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3577.27852
Procedure: fe_perl_deinit
Trace: view
Modified: Thu Nov 26 11:05:04 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-fe.c
   Enter fe_perl_deinit
 262  
 263 void fe_perl_deinit(void) 
 264 {
 265         theme_unregister();
 266  
 267         command_unbind("script", (SIGNAL_FUNC) cmd_script);   /* Dangerous Function Cast (ID: 3565.27847) */
 268         command_unbind("script exec", (SIGNAL_FUNC) cmd_script_exec);   /* Dangerous Function Cast (ID: 3563.27846) */
 269         command_unbind("script load", (SIGNAL_FUNC) cmd_script_load);   /* Dangerous Function Cast (ID: 3561.27845) */
 270         command_unbind("script unload", (SIGNAL_FUNC) cmd_script_unload);   /* Dangerous Function Cast (ID: 3582.27854) */
 271         command_unbind("script reset", (SIGNAL_FUNC) cmd_script_reset);   /* Dangerous Function Cast (ID: 3579.27853) */
Wrong Number of Parameters272         command_unbind("script list", (SIGNAL_FUNC) cmd_script_list);     /* Dangerous Function Cast */
 273         command_unbind("load", (SIGNAL_FUNC) cmd_load);   /* Dangerous Function Cast (ID: 3575.27851) */
 274  
 275         signal_remove("script error", (SIGNAL_FUNC) sig_script_error);   /* Dangerous Function Cast (ID: 3572.27850) */
 276         signal_remove("complete command script load", (SIGNAL_FUNC) sig_complete_load);   /* Dangerous Function Cast (ID: 3570.27849) */
 277         signal_remove("complete command script unload", (SIGNAL_FUNC) sig_complete_unload);   /* Dangerous Function Cast (ID: 3568.27848) */
 278  
 279         perl_core_print_script_error(TRUE);
 280 } 




Change Warning 3577.27852 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: