Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2348.2358
Procedure: textbuffer_view_set_scroll
Trace: View
Modified: Wed Sep 2 12:19:19 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_set_scroll
 42 XS(XS_Irssi__TextUI__TextBufferView_set_scroll) 
 43 {
 44 #ifdef dVAR 
 45     dVAR; dXSARGS;
 46 #else 
 47     dXSARGS; 
 48 #endif 
 49     if (items != 2)
 50        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::TextUI::TextBufferView::set_scroll", "view, scroll");
 51     PERL_UNUSED_VAR(cv); /* -W */ 
 52     {
true53         Irssi__TextUI__TextBufferView   view = irssi_ref_object(ST(0));
 54         int     scroll = (int)SvIV(ST(1));
 55  
view <= 409556         textbuffer_view_set_scroll(view, scroll);
Postconditions
_svi' = &$unknown_3080753
$unknown_3080731' = $unknown_3080731 - 4
cv' = $param_2
items' != 2
my_perl' = $param_1
scroll' = scroll'
view' = 0
view' = 0




Change Warning 2348.2358 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: