Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at TextBufferView.c:97

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2351.2361
Procedure: XS_Irssi__TextUI__TextBufferView_get_lines
Trace: View
Modified: Wed Sep 2 12:19:36 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/perl/textui/TextBufferView.c
   Enter XS_Irssi__TextUI__TextBufferView_get_lines
 83 XS(XS_Irssi__TextUI__TextBufferView_get_lines) 
 84 {
 85 #ifdef dVAR 
 86     dVAR; dXSARGS;
 87 #else 
 88     dXSARGS; 
 89 #endif 
 90     if (items != 1)
 91        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::TextUI::TextBufferView::get_lines", "view");
 92     PERL_UNUSED_VAR(cv); /* -W */ 
 93     {
true94         Irssi__TextUI__TextBufferView   view = irssi_ref_object(ST(0));
 95         Irssi__TextUI__Line     RETVAL;
 96  
view <= 409597         RETVAL = textbuffer_view_get_lines(view);     /* Null Pointer Dereference */
Postconditions
$unknown_3092405' = $unknown_3092405 - 4
cv' = $param_2
items' != 1
my_perl' = $param_1
view' = 0




Change Warning 2351.2361 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: