Text  |   XML   |   Visible Warnings:

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

Categories: LANG.CAST.FN CWE:628 CWE:234
Warning ID: 4250.28108
Procedure: statusbar_create
Trace: view
Modified: Thu Nov 26 11:06: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/fe-text/statusbar.c
   Enter statusbar_create
 474  
 475         bar->group = group;
 476  
 477         bar->config = config;
 478         bar->parent_window = parent_window;
 479  
 480         irssi_set_dirty();
 481         bar->dirty = TRUE;
 482         bar->dirty_xpos = 0;
 483  
Wrong Number of Parameters484         signal_remove("terminal resized", (SIGNAL_FUNC) sig_terminal_resized);     /* Dangerous Function Cast */
 485         signal_remove("mainwindow resized", (SIGNAL_FUNC) sig_mainwindow_resized);   /* Dangerous Function Cast (ID: 4248.28107) */
 486         signal_remove("mainwindow moved", (SIGNAL_FUNC) sig_mainwindow_resized);   /* Dangerous Function Cast (ID: 4246.28106) */
 487  
 488         if (config->type == STATUSBAR_TYPE_ROOT) {
 489                 /* top/bottom of the screen */ 
 490                 mainwindows_reserve_lines(config->placement == STATUSBAR_TOP,
 491                                           config->placement == STATUSBAR_BOTTOM);
 492                 theme = current_theme;
 493         } else {
 494                 /* top/bottom of the window */ 




Change Warning 4250.28108 : Dangerous Function Cast

Priority:
State:
Finding:
Owner:
Note: