Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at Core.c:2021

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7366.28463
Procedure: XS_Irssi__Windowitem_command
Trace: view
Modified: Thu Nov 26 11:11:14 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/Core.c
   Enter XS_Irssi__Windowitem_command
 2007 XS(XS_Irssi__Windowitem_command) 
 2008 {
 2009 #ifdef dVAR 
 2010     dVAR; dXSARGS;
 2011 #else 
 2012     dXSARGS; 
 2013 #endif 
 2014     if (items != 2)
 2015        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::Windowitem::command", "item, cmd");
 2016     PERL_UNUSED_VAR(cv); /* -W */ 
 2017     {
true2018         Irssi__Windowitem       item = irssi_ref_object(ST(0));
 2019         char *  cmd = (char *)SvPV_nolen(ST(1));
 2020 #line 736 "Core.xs"
item <= 40952021         perl_command(cmd, item->server, item);     /* Null Pointer Dereference */
Postconditions
_svi' = &$unknown_849903
$unknown_849886' = $unknown_849886 - 4
cmd' = ((char*)&$unknown_849903)[12]
item' = 0
items' != 2




Change Warning 7366.28463 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: