Text  |   XML   |   Visible Warnings:

irssi-0.8.14 : irssi-0.8.14 analysis 2 : Null Pointer Dereference  at TextBufferView.c:317

Categories: LANG.MEM.NPD CWE:476
Warning ID: 7422.28524
Procedure: XS_Irssi__UI__Window_view
Trace: view
Modified: Thu Nov 26 11:20:06 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/textui/TextBufferView.c
   Enter XS_Irssi__UI__Window_view
 303 XS(XS_Irssi__UI__Window_view) 
 304 {
 305 #ifdef dVAR 
 306     dVAR; dXSARGS;
 307 #else 
 308     dXSARGS; 
 309 #endif 
 310     if (items != 1)
 311        Perl_croak(aTHX_ "Usage: %s(%s)", "Irssi::UI::Window::view", "window");
 312     PERL_UNUSED_VAR(cv); /* -W */ 
 313     {
true314         Irssi__UI__Window       window = irssi_ref_object(ST(0));
 315         Irssi__TextUI__TextBufferView   RETVAL;
 316 #line 83 "TextBufferView.xs"
window <= 4095317         RETVAL = WINDOW_GUI(window)->view;     /* Null Pointer Dereference */
Postconditions
$unknown_2015102' = $unknown_2015102 - 4
items' != 1
window' = 0




Change Warning 7422.28524 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: