Show
Ignore:
Timestamp:
05/21/15 16:11:54 (31 hours ago)
Author:
robert
Message:

Fixed memory error associated with reading over the end of container due to an unbounded while loop.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/api/X11/GraphicsWindowX11

    r12125 r13130  
    6060                getState()->setGraphicsContext(this); 
    6161 
    62                 if (_traits.valid() && _traits->sharedContext) 
     62                if (_traits.valid() && _traits->sharedContext.valid()) 
    6363                { 
    6464                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );