Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at mainwindows.c:139

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7438.28545
Procedure: mainwindow_change_active
Trace: view
Modified: Thu Nov 26 11:20:55 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/mainwindows.c
   Enter mainwindow_change_active
 129 void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
 130                               WINDOW_REC *skip_window) 
 131 {
 132         WINDOW_REC *window, *other;
 133         GSList *tmp;
 134  
 135         mainwin->active = NULL;
 136         if (mainwin->sticky_windows) {
 137                 /* sticky window */ 
true138                 tmp = get_sticky_windows_sorted(mainwin);
tmp <= 4095139                 window = tmp->data;     /* Null Pointer Dereference */
Preconditions
mainwin->sticky_windows != 0
windows = 0
Postconditions
tmp' = 0




Change Warning 7438.28545 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: