osgViewer/Renderer.cpp : scan-build "Called C++ object pointer is null" - fixed
In rare cases when osg::DisplaySettings::instance().get()) is NULL, it was possible that at line 416 NULL 'ds' was dereferenced.
I'm not 100 percent sure that's possible, but better safe then sorry :)
osg/FrameBufferObject.cpp : scan-build "Called C++ object pointer is null" - fixed
In FrameBufferAttachment::attach there was a case where _ximpl->textureTarget() was not valid, but target type could be different than Pimpl::RENDERBUFFER, thus causing
null pointer dereference, but see #2