Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at Window.c:1057

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7402.28501
Procedure: XS_Irssi__Windowitem_set_active
Trace: view
Modified: Thu Nov 26 11:18:33 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/ui/Window.c
   Enter XS_Irssi__Windowitem_set_active
 1044 XS(XS_Irssi__Windowitem_set_active) 
 1045 {
 1046 #ifdef dVAR 
 1047     dVAR; dXSARGS;
 1048 #else 
 1049     dXSARGS; 
 1050 #endif 
 1051     if (items != 1)
 1052        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::Windowitem::set_active", "item");
 1053     PERL_UNUSED_VAR(cv); /* -W */ 
 1054     {
true1055         Irssi__Windowitem       item = irssi_ref_object(ST(0));
 1056 #line 295 "Window.xs"
item <= 40951057         window_item_set_active(window_item_window(item), item);     /* Null Pointer Dereference */
Postconditions
$unknown_1810047' = $unknown_1810047 - 4
item' = 0
items' != 1




Change Warning 7402.28501 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: