Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3604.27862
Procedure: fe_perl_init
Trace: view
Modified: Thu Nov 26 11:05:08 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_init
 238         if (*list != NULL)
 239                 signal_stop();
 240 }
 241  
 242 void fe_perl_init(void) 
 243 {
 244         theme_register(feperl_formats);
 245  
 246         command_bind("script", NULL, (SIGNAL_FUNC) cmd_script);   /* Dangerous Function Cast (ID: 3608.27864) */
 247         command_bind("script exec", NULL, (SIGNAL_FUNC) cmd_script_exec);   /* Dangerous Function Cast (ID: 3606.27863) */
Wrong Number of Parameters248         command_bind("script load", NULL, (SIGNAL_FUNC) cmd_script_load);     /* Dangerous Function Cast */
 249         command_bind("script unload", NULL, (SIGNAL_FUNC) cmd_script_unload);   /* Dangerous Function Cast (ID: 3601.27861) */
 250         command_bind("script reset", NULL, (SIGNAL_FUNC) cmd_script_reset);   /* Dangerous Function Cast (ID: 3599.27860) */
 251         command_bind("script list", NULL, (SIGNAL_FUNC) cmd_script_list);   /* Dangerous Function Cast (ID: 3596.27859) */
 252         command_bind("load", NULL, (SIGNAL_FUNC) cmd_load);   /* Dangerous Function Cast (ID: 3593.27858) */
 253         command_set_options("script exec", "permanent");
 254  
 255         signal_add("script error", (SIGNAL_FUNC) sig_script_error);   /* Dangerous Function Cast (ID: 3591.27857) */
 256         signal_add("complete command script load", (SIGNAL_FUNC) sig_complete_load);   /* Dangerous Function Cast (ID: 3588.27856) */
 257         signal_add("complete command script unload", (SIGNAL_FUNC) sig_complete_unload);   /* Dangerous Function Cast (ID: 3585.27855) */
 258  




Change Warning 3604.27862 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: