Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at perl-fe.c:272

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1700.1700
Procedure: fe_perl_deinit
Trace: View
Modified: Wed Sep 2 11:44:41 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-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: 1695.1695) */
 268         command_unbind("script exec", (SIGNAL_FUNC) cmd_script_exec);   /* Dangerous Function Cast (ID: 1694.1694) */
 269         command_unbind("script load", (SIGNAL_FUNC) cmd_script_load);   /* Dangerous Function Cast (ID: 1693.1693) */
 270         command_unbind("script unload", (SIGNAL_FUNC) cmd_script_unload);   /* Dangerous Function Cast (ID: 1702.1702) */
 271         command_unbind("script reset", (SIGNAL_FUNC) cmd_script_reset);   /* Dangerous Function Cast (ID: 1701.1701) */
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: 1699.1699) */
 274  
 275         signal_remove("script error", (SIGNAL_FUNC) sig_script_error);   /* Dangerous Function Cast (ID: 1698.1698) */
 276         signal_remove("complete command script load", (SIGNAL_FUNC) sig_complete_load);   /* Dangerous Function Cast (ID: 1697.1697) */
 277         signal_remove("complete command script unload", (SIGNAL_FUNC) sig_complete_unload);   /* Dangerous Function Cast (ID: 1696.1696) */
 278  
 279         perl_core_print_script_error(TRUE);
 280 




Change Warning 1700.1700 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: