Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at ignore.c:334

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7369.28466
Procedure: ignore_update_rec
Trace: view
Modified: Thu Nov 26 11:12:20 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/Ignore.c
   Enter XS_Irssi__Ignore_update_rec
 123 XS(XS_Irssi__Ignore_update_rec) 
 124 {
 125 #ifdef dVAR 
 126     dVAR; dXSARGS;
 127 #else 
 128     dXSARGS; 
 129 #endif 
 130     if (items != 1)
 131        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::Ignore::update_rec", "rec");
 132     PERL_UNUSED_VAR(cv); /* -W */ 
 133     {
true134         Irssi__Ignore   rec = irssi_ref_object(ST(0));
 135  
rec <= 4095136         ignore_update_rec(rec);
     /kat0/fletcher/SATE/2010/irssi-0.8.14/src/core/ignore.c
     Enter XS_Irssi__Ignore_update_rec / ignore_update_rec
 332   void ignore_update_rec(IGNORE_REC *rec) 
 333   {
rec <= 4095334           if (rec->level == 0) {     /* Null Pointer Dereference */
     Exit XS_Irssi__Ignore_update_rec / ignore_update_rec
Postconditions
$unknown_920384' = $unknown_920384 - 4
items' != 1
rec' = 0
rec' = 0




Change Warning 7369.28466 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: