Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at servers-redirect.c:771

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 553.553
Procedure: servers_redirect_deinit
Trace: View
Modified: Wed Sep 2 11:35:10 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/irc/core/servers-redirect.c
   Enter servers_redirect_deinit
 761  
 762         signal_add("server disconnected", (SIGNAL_FUNC) sig_disconnected);   /* Dangerous Function Cast (ID: 552.552) */
 763 }
 764  
 765 void servers_redirect_deinit(void) 
 766 {
 767         g_hash_table_foreach(command_redirects,
 768                              (GHFunc) cmd_redirect_destroy, NULL);   /* Dangerous Function Cast (ID: 554.554) */
 769         g_hash_table_destroy(command_redirects);
 770  
Wrong Number of Parameters771         signal_remove("server disconnected", (SIGNAL_FUNC) sig_disconnected);     /* Dangerous Function Cast */
 772 




Change Warning 553.553 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: