Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at textbuffer-view.c:521

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7415.28517
Procedure: textbuffer_view_init_ypos
Trace: view
Modified: Thu Nov 26 11:19:51 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/textbuffer-view.c
   Enter textbuffer_view_init_ypos
 513 static void textbuffer_view_init_ypos(TEXT_BUFFER_VIEW_REC *view) 
 514 {
 515         LINE_REC *line;
 516  
 517         g_return_if_fail(view != NULL);
 518  
 519         view->ypos = -view->subline-1;
 520         for (line = view->startline; line != NULL; line = line->next)
true521                 view->ypos += view_get_linecount(view, line);     /* Null Pointer Dereference */
Preconditions
((char*)&$unknown_1990317)[8] = 0
Postconditions
_g_boolean_var_' = 1
((char*)&$unknown_1990316)[4]' = &$unknown_1990317
line' = &$unknown_1990317




Change Warning 7415.28517 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: