Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at TextBuffer.c:58

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7407.28508
Procedure: XS_Irssi__TextUI__Line_next
Trace: view
Modified: Thu Nov 26 11: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
   /kat0/fletcher/SATE/2010/irssi-0.8.14/src/perl/textui/TextBuffer.c
   Enter XS_Irssi__TextUI__Line_next
 44 XS(XS_Irssi__TextUI__Line_next) 
 45 {
 46 #ifdef dVAR 
 47     dVAR; dXSARGS;
 48 #else 
 49     dXSARGS; 
 50 #endif 
 51     if (items != 1)
 52        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::TextUI::Line::next", "line");
 53     PERL_UNUSED_VAR(cv); /* -W */ 
 54     {
true55         Irssi__TextUI__Line     line = irssi_ref_object(ST(0));
 56         Irssi__TextUI__Line     RETVAL;
 57 #line 22 "TextBuffer.xs"
line <= 409558         RETVAL = line->next;     /* Null Pointer Dereference */
Postconditions
$unknown_1949643' = $unknown_1949643 - 4
items' != 1
line' = 0




Change Warning 7407.28508 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: