Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at servers-redirect.c:768

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1261.26707
Procedure: servers_redirect_deinit
Trace: view
Modified: Thu Nov 26 10:59:40 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/irc/core/servers-redirect.c
   Enter servers_redirect_deinit
 758                                  "event pong", -1, /* PONG */ 
 759                                  NULL,
 760                                  NULL);
 761  
 762         signal_add("server disconnected", (SIGNAL_FUNC) sig_disconnected);   /* Dangerous Function Cast (ID: 1259.26705) */
 763 }
 764  
 765 void servers_redirect_deinit(void) 
 766 {
 767         g_hash_table_foreach(command_redirects,
Wrong Number of Parameters768                              (GHFunc) cmd_redirect_destroy, NULL);     /* Dangerous Function Cast */
 769         g_hash_table_destroy(command_redirects);
 770  
 771         signal_remove("server disconnected", (SIGNAL_FUNC) sig_disconnected);   /* Dangerous Function Cast (ID: 1260.26706) */
 772 } 




Change Warning 1261.26707 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: