Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at fe-exec.c:652

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1632.27019
Procedure: fe_exec_init
Trace: view
Modified: Thu Nov 26 11:01:00 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/fe-common/core/fe-exec.c
   Enter fe_exec_init
 642         signal_stop();
 643 }
 644  
 645 void fe_exec_init(void) 
 646 {
 647         command_bind("exec", NULL, (SIGNAL_FUNC) cmd_exec);   /* Dangerous Function Cast (ID: 1638.27021) */
 648         command_set_options("exec", "!- interactive nosh +name out +msg +notice +in window close +level quiet");
 649  
 650         signal_exec_input = signal_get_uniq_id("exec input");
 651         signal_add("pidwait", (SIGNAL_FUNC) sig_pidwait);   /* Dangerous Function Cast (ID: 1635.27020) */
Wrong Number of Parameters652         signal_add("exec input", (SIGNAL_FUNC) sig_exec_input);     /* Dangerous Function Cast */
 653         signal_add("window destroyed", (SIGNAL_FUNC) sig_window_destroyed);   /* Dangerous Function Cast (ID: 1630.27018) */
 654         signal_add_first("send text", (SIGNAL_FUNC) event_text);   /* Dangerous Function Cast (ID: 1627.27017) */
 655 } 
 656  
 657 void fe_exec_deinit(void)
 658 {
 659         if (processes != NULL) {
 660                 processes_killall(SIGTERM);
 661                 sleep(1);
 662                 processes_killall(SIGKILL);




Change Warning 1632.27019 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: