Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at completion.c:862

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 791.791
Procedure: completion_deinit
Trace: View
Modified: Wed Sep 2 11:36:53 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/completion.c
   Enter completion_deinit
 852  
 853         command_unbind("completion", (SIGNAL_FUNC) cmd_completion);   /* Dangerous Function Cast (ID: 796.796) */
 854  
 855         signal_remove("complete word", (SIGNAL_FUNC) sig_complete_word);   /* Dangerous Function Cast (ID: 788.788) */
 856         signal_remove("complete erase", (SIGNAL_FUNC) sig_complete_erase);   /* Dangerous Function Cast (ID: 795.795) */
 857         signal_remove("complete command set", (SIGNAL_FUNC) sig_complete_set);   /* Dangerous Function Cast (ID: 790.790) */
 858         signal_remove("complete command toggle", (SIGNAL_FUNC) sig_complete_toggle);   /* Dangerous Function Cast (ID: 797.797) */
 859         signal_remove("complete command load", (SIGNAL_FUNC) sig_complete_filename);   /* Dangerous Function Cast (ID: 798.798) */
 860         signal_remove("complete command cat", (SIGNAL_FUNC) sig_complete_filename);   /* Dangerous Function Cast (ID: 793.793) */
 861         signal_remove("complete command save", (SIGNAL_FUNC) sig_complete_filename);   /* Dangerous Function Cast (ID: 787.787) */
Wrong Number of Parameters862         signal_remove("complete command reload", (SIGNAL_FUNC) sig_complete_filename);     /* Dangerous Function Cast */
 863         signal_remove("complete command rawlog open", (SIGNAL_FUNC) sig_complete_filename);   /* Dangerous Function Cast (ID: 789.789) */
 864         signal_remove("complete command rawlog save", (SIGNAL_FUNC) sig_complete_filename);   /* Dangerous Function Cast (ID: 792.792) */
 865         signal_remove("complete command help", (SIGNAL_FUNC) sig_complete_command);   /* Dangerous Function Cast (ID: 794.794) */
 866 




Change Warning 791.791 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: