Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at Window.c:989

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2339.2349
Procedure: XS_Irssi__Windowitem_window
Trace: View
Modified: Wed Sep 2 12:16: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
   /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/perl/ui/Window.c
   Enter XS_Irssi__Windowitem_window
 975 XS(XS_Irssi__Windowitem_window) 
 976 {
 977 #ifdef dVAR 
 978     dVAR; dXSARGS;
 979 #else 
 980     dXSARGS; 
 981 #endif 
 982     if (items != 1)
 983        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::Windowitem::window", "item");
 984     PERL_UNUSED_VAR(cv); /* -W */ 
 985     {
true986         Irssi__Windowitem       item = irssi_ref_object(ST(0));
 987         Irssi__UI__Window       RETVAL;
 988 #line 278 "Window.xs"
item <= 4095989         RETVAL = window_item_window(item);     /* Null Pointer Dereference */
Postconditions
$unknown_2843365' = $unknown_2843365 - 4
cv' = $param_2
item' = 0
items' != 1
my_perl' = $param_1




Change Warning 2339.2349 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: