Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at servers-idle.c:257

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 1254.26701
Procedure: servers_idle_init
Trace: view
Modified: Thu Nov 26 10:59:39 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-idle.c
   Enter servers_idle_init
 247                 }
 248         }
 249         return 1;
 250 }
 251  
 252 void servers_idle_init(void) 
 253 {
 254         idlepos = 0;
 255         idle_tag = g_timeout_add(1000, (GSourceFunc) sig_idle_timeout, NULL);   /* Dangerous Function Cast (ID: 1255.26700) */
 256  
Wrong Number of Parameters257         signal_add("server disconnected", (SIGNAL_FUNC) sig_disconnected);     /* Dangerous Function Cast */
 258 } 
 259  
 260 void servers_idle_deinit(void)
 261 {
 262         g_source_remove(idle_tag);
 263         signal_remove("server disconnected", (SIGNAL_FUNC) sig_disconnected);   /* Dangerous Function Cast (ID: 1256.26702) */
 264 }




Change Warning 1254.26701 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: