Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 866.866
Procedure: fe_exec_init
Trace: View
Modified: Wed Sep 2 11:37:24 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_init
 643 }
 644  
 645 void fe_exec_init(void) 
 646 {
 647         command_bind("exec", NULL, (SIGNAL_FUNC) cmd_exec);   /* Dangerous Function Cast (ID: 869.869) */
 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: 868.868) */
 652         signal_add("exec input", (SIGNAL_FUNC) sig_exec_input);   /* Dangerous Function Cast (ID: 867.867) */
Wrong Number of Parameters653         signal_add("window destroyed", (SIGNAL_FUNC) sig_window_destroyed);     /* Dangerous Function Cast */
 654         signal_add_first("send text", (SIGNAL_FUNC) event_text);   /* Dangerous Function Cast (ID: 865.865) */
 655 
 656  
 657 void fe_exec_deinit(void)
 658 {
 659         if (processes != NULL) {
 660                 processes_killall(SIGTERM);
 661                 sleep(1);
 662                 processes_killall(SIGKILL);
 663  




Change Warning 866.866 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: