Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at Rawlog.c:80

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7374.28470
Procedure: XS_Irssi__Rawlog_get_lines
Trace: view
Modified: Thu Nov 26 11:13:16 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/common/Rawlog.c
   Enter XS_Irssi__Rawlog_get_lines
 62 XS(XS_Irssi__Rawlog_get_lines) 
 63 {
 64 #ifdef dVAR 
 65     dVAR; dXSARGS;
 66 #else 
 67     dXSARGS; 
 68 #endif 
 69     if (items != 1)
 70        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::Rawlog::get_lines", "rawlog");
 71     PERL_UNUSED_VAR(cv); /* -W */ 
 72     PERL_UNUSED_VAR(ax); /* -Wall */ 
 73     SP -= items;
 74     {
true75         Irssi__Rawlog   rawlog = irssi_ref_object(ST(0));
 76 #line 21 "Rawlog.xs"
 77         GSList *tmp;
 78 #line 79 "Rawlog.c"
 79 #line 23 "Rawlog.xs"
rawlog <= 409580         for (tmp = rawlog->lines; tmp != NULL; tmp = tmp->next) {     /* Null Pointer Dereference */
Postconditions
$unknown_1036660' = $unknown_1036660 - 4
items' != 1
rawlog' = 0




Change Warning 7374.28470 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: