Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Null Pointer Dereference  at TextBufferView.c:317

Categories: LANG.MEM.NPD CWE:476
Warning ID: 2361.2372
Procedure: XS_Irssi__UI__Window_view
Trace: View
Modified: Wed Sep 2 12:20:01 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/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_3139981' = $unknown_3139981 - 4
cv' = $param_2
items' != 1
my_perl' = $param_1
window' = 0




Change Warning 2361.2372 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: