Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Dangerous Function Cast  at channels.c:286

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 3.3
Procedure: channels_deinit
Trace: View
Modified: Wed Sep 2 11:31:12 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/core/channels.c
   Enter channels_deinit
 276 {
 277         channels_setup_init();
 278  
 279         signal_add("event connected", (SIGNAL_FUNC) event_connected);   /* Dangerous Function Cast (ID: 2.2) */
 280 }
 281  
 282 void channels_deinit(void) 
 283 {
 284         channels_setup_deinit();
 285  
Wrong Number of Parameters286         signal_remove("event connected", (SIGNAL_FUNC) event_connected);     /* Dangerous Function Cast */
 287 




Change Warning 3.3 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: