Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at Channel.c:154

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7373.28473
Procedure: XS_Irssi__Irc__Channel_bans
Trace: view
Modified: Thu Nov 26 11:14:23 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/irc/Channel.c
   Enter XS_Irssi__Irc__Channel_bans
 136 XS(XS_Irssi__Irc__Channel_bans) 
 137 {
 138 #ifdef dVAR 
 139     dVAR; dXSARGS;
 140 #else 
 141     dXSARGS; 
 142 #endif 
 143     if (items != 1)
 144        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::Irc::Channel::bans", "channel");
 145     PERL_UNUSED_VAR(cv); /* -W */ 
 146     PERL_UNUSED_VAR(ax); /* -Wall */ 
 147     SP -= items;
 148     {
true149         Irssi__Irc__Channel     channel = irssi_ref_object(ST(0));
 150 #line 46 "Channel.xs"
 151         GSList *tmp;
 152 #line 153 "Channel.c"
 153 #line 48 "Channel.xs"
channel <= 4095154         for (tmp = channel->banlist; tmp != NULL; tmp = tmp->next) {     /* Null Pointer Dereference */
Postconditions
$unknown_1165954' = $unknown_1165954 - 4
channel' = 0
items' != 1




Change Warning 7373.28473 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: