Added safety check for getenv parsing to prevent overflow attacks via getenv.
Added safety check for getenv parsing to prevent overflow attacks via getenv.

scrawl/osg,scrawl/osg,openscenegraph/osg,openscenegraph/osg,openscenegraph/osg,scrawl/osg,scrawl/osg,openscenegraph/osg