Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7409.28510
Procedure: textbuffer_view_set_scroll
Trace: view
Modified: Thu Nov 26 11:19:45 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/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_1972486
$unknown_1972469' = $unknown_1972469 - 4
items' != 2
scroll' = scroll'
view' = 0
view' = 0




Change Warning 7409.28510 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: