Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at fe-exec.c:670

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 874.874
Procedure: fe_exec_deinit
Trace: View
Modified: Wed Sep 2 11:37:27 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/fe-common/core/fe-exec.c
   Enter fe_exec_deinit
 660                 processes_killall(SIGTERM);
 661                 sleep(1);
 662                 processes_killall(SIGKILL);
 663  
 664                 while (processes != NULL)
 665                         process_destroy(processes->data, -1);
 666         }
 667  
 668         command_unbind("exec", (SIGNAL_FUNC) cmd_exec);   /* Dangerous Function Cast (ID: 870.870) */
 669  
Wrong Number of Parameters670         signal_remove("pidwait", (SIGNAL_FUNC) sig_pidwait);     /* Dangerous Function Cast */
 671         signal_remove("exec input", (SIGNAL_FUNC) sig_exec_input);   /* Dangerous Function Cast (ID: 873.873) */
 672         signal_remove("window destroyed", (SIGNAL_FUNC) sig_window_destroyed);   /* Dangerous Function Cast (ID: 872.872) */
 673         signal_remove("send text", (SIGNAL_FUNC) event_text);   /* Dangerous Function Cast (ID: 871.871) */
 674 




Change Warning 874.874 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: