Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at textbuffer-view.c:1144

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2360.2371
Procedure: textbuffer_view_remove_line
Trace: View
Modified: Wed Sep 2 12:19:53 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/fe-text/textbuffer-view.c
   Enter textbuffer_view_remove_line
 1135 void textbuffer_view_remove_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line) 
 1136 {
 1137         GSList *tmp;
 1138         unsigned char update_counter;
 1139         int linecount;
 1140  
 1141         g_return_if_fail(view != NULL);
 1142         g_return_if_fail(line != NULL);
 1143  
true1144         linecount = view_get_linecount(view, line);     /* Null Pointer Dereference */
Postconditions
_g_boolean_var_' = 1
_g_boolean_var_' = 1
line' = $param_2
view' = $param_1




Change Warning 2360.2371 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: