Text  |   XML   |   Visible Warnings:

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

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2340.2350
Procedure: XS_Irssi__Windowitem_set_active
Trace: View
Modified: Wed Sep 2 12:16:25 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_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_2846652' = $unknown_2846652 - 4
cv' = $param_2
item' = 0
items' != 1
my_perl' = $param_1




Change Warning 2340.2350 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: