Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Dangerous Function Cast  at statusbar.c:367

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 4233.28102
Procedure: statusbar_items_redraw
Trace: view
Modified: Thu Nov 26 11:06:37 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/fe-text/statusbar.c
   Enter statusbar_items_redraw
 357                    the statusbar to see if this is allowed */ 
 358                 statusbar_redraw(item->bar, FALSE);
 359         }
 360  
 361         active_win = old_active_win;
 362 }
 363  
 364 void statusbar_items_redraw(const char *name) 
 365 {
 366         g_slist_foreach(g_hash_table_lookup(named_sbar_items, name),
Wrong Number of Parameters367                         (GFunc) statusbar_item_redraw, NULL);     /* Dangerous Function Cast */
 368 } 
 369  
 370 static void statusbars_recalc_ypos(STATUSBAR_REC *bar)
 371 {
 372         GSList *tmp, *bar_group;
 373         int ypos;
 374  
 375         /* get list of statusbars with same type and placement,
 376            sorted by position */ 
 377         bar_group = NULL;




Change Warning 4233.28102 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: