Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/openvdb-7.1.0/openvdb/Exceptions.h Examining data/openvdb-7.1.0/openvdb/Grid.cc Examining data/openvdb-7.1.0/openvdb/Grid.h Examining data/openvdb-7.1.0/openvdb/MetaMap.cc Examining data/openvdb-7.1.0/openvdb/MetaMap.h Examining data/openvdb-7.1.0/openvdb/Metadata.cc Examining data/openvdb-7.1.0/openvdb/Metadata.h Examining data/openvdb-7.1.0/openvdb/Platform.cc Examining data/openvdb-7.1.0/openvdb/Platform.h Examining data/openvdb-7.1.0/openvdb/PlatformConfig.h Examining data/openvdb-7.1.0/openvdb/Types.h Examining data/openvdb-7.1.0/openvdb/cmd/openvdb_lod.cc Examining data/openvdb-7.1.0/openvdb/cmd/openvdb_print.cc Examining data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc Examining data/openvdb-7.1.0/openvdb/cmd/openvdb_view.cc Examining data/openvdb-7.1.0/openvdb/io/Archive.cc Examining data/openvdb-7.1.0/openvdb/io/Archive.h Examining data/openvdb-7.1.0/openvdb/io/Compression.cc Examining data/openvdb-7.1.0/openvdb/io/Compression.h Examining data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc Examining data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.h Examining data/openvdb-7.1.0/openvdb/io/File.cc Examining data/openvdb-7.1.0/openvdb/io/File.h Examining data/openvdb-7.1.0/openvdb/io/GridDescriptor.cc Examining data/openvdb-7.1.0/openvdb/io/GridDescriptor.h Examining data/openvdb-7.1.0/openvdb/io/Queue.cc Examining data/openvdb-7.1.0/openvdb/io/Queue.h Examining data/openvdb-7.1.0/openvdb/io/Stream.cc Examining data/openvdb-7.1.0/openvdb/io/Stream.h Examining data/openvdb-7.1.0/openvdb/io/TempFile.cc Examining data/openvdb-7.1.0/openvdb/io/TempFile.h Examining data/openvdb-7.1.0/openvdb/io/io.h Examining data/openvdb-7.1.0/openvdb/math/BBox.h Examining data/openvdb-7.1.0/openvdb/math/ConjGradient.h Examining data/openvdb-7.1.0/openvdb/math/Coord.h Examining data/openvdb-7.1.0/openvdb/math/DDA.h Examining data/openvdb-7.1.0/openvdb/math/FiniteDifference.h Examining data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h Examining data/openvdb-7.1.0/openvdb/math/Maps.cc Examining data/openvdb-7.1.0/openvdb/math/Maps.h Examining data/openvdb-7.1.0/openvdb/math/Mat.h Examining data/openvdb-7.1.0/openvdb/math/Mat3.h Examining data/openvdb-7.1.0/openvdb/math/Mat4.h Examining data/openvdb-7.1.0/openvdb/math/Math.h Examining data/openvdb-7.1.0/openvdb/math/Operators.h Examining data/openvdb-7.1.0/openvdb/math/Proximity.cc Examining data/openvdb-7.1.0/openvdb/math/Proximity.h Examining data/openvdb-7.1.0/openvdb/math/QuantizedUnitVec.cc Examining data/openvdb-7.1.0/openvdb/math/QuantizedUnitVec.h Examining data/openvdb-7.1.0/openvdb/math/Quat.h Examining data/openvdb-7.1.0/openvdb/math/Ray.h Examining data/openvdb-7.1.0/openvdb/math/Stats.h Examining data/openvdb-7.1.0/openvdb/math/Stencils.h Examining data/openvdb-7.1.0/openvdb/math/Transform.cc Examining data/openvdb-7.1.0/openvdb/math/Transform.h Examining data/openvdb-7.1.0/openvdb/math/Tuple.h Examining data/openvdb-7.1.0/openvdb/math/Vec2.h Examining data/openvdb-7.1.0/openvdb/math/Vec3.h Examining data/openvdb-7.1.0/openvdb/math/Vec4.h Examining data/openvdb-7.1.0/openvdb/openvdb.cc Examining data/openvdb-7.1.0/openvdb/openvdb.h Examining data/openvdb-7.1.0/openvdb/points/AttributeArray.cc Examining data/openvdb-7.1.0/openvdb/points/AttributeArray.h Examining data/openvdb-7.1.0/openvdb/points/AttributeArrayString.cc Examining data/openvdb-7.1.0/openvdb/points/AttributeArrayString.h Examining data/openvdb-7.1.0/openvdb/points/AttributeGroup.cc Examining data/openvdb-7.1.0/openvdb/points/AttributeGroup.h Examining data/openvdb-7.1.0/openvdb/points/AttributeSet.cc Examining data/openvdb-7.1.0/openvdb/points/AttributeSet.h Examining data/openvdb-7.1.0/openvdb/points/IndexFilter.h Examining data/openvdb-7.1.0/openvdb/points/IndexIterator.h Examining data/openvdb-7.1.0/openvdb/points/PointAdvect.h Examining data/openvdb-7.1.0/openvdb/points/PointAttribute.h Examining data/openvdb-7.1.0/openvdb/points/PointConversion.h Examining data/openvdb-7.1.0/openvdb/points/PointCount.h Examining data/openvdb-7.1.0/openvdb/points/PointDataGrid.h Examining data/openvdb-7.1.0/openvdb/points/PointDelete.h Examining data/openvdb-7.1.0/openvdb/points/PointGroup.h Examining data/openvdb-7.1.0/openvdb/points/PointMask.h Examining data/openvdb-7.1.0/openvdb/points/PointMove.h Examining data/openvdb-7.1.0/openvdb/points/PointSample.h Examining data/openvdb-7.1.0/openvdb/points/PointScatter.h Examining data/openvdb-7.1.0/openvdb/points/StreamCompression.cc Examining data/openvdb-7.1.0/openvdb/points/StreamCompression.h Examining data/openvdb-7.1.0/openvdb/points/points.cc Examining data/openvdb-7.1.0/openvdb/python/pyAccessor.h Examining data/openvdb-7.1.0/openvdb/python/pyFloatGrid.cc Examining data/openvdb-7.1.0/openvdb/python/pyGrid.h Examining data/openvdb-7.1.0/openvdb/python/pyIntGrid.cc Examining data/openvdb-7.1.0/openvdb/python/pyMetadata.cc Examining data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc Examining data/openvdb-7.1.0/openvdb/python/pyPointGrid.cc Examining data/openvdb-7.1.0/openvdb/python/pyTransform.cc Examining data/openvdb-7.1.0/openvdb/python/pyVec3Grid.cc Examining data/openvdb-7.1.0/openvdb/python/pyopenvdb.h Examining data/openvdb-7.1.0/openvdb/python/pyutil.h Examining data/openvdb-7.1.0/openvdb/tools/ChangeBackground.h Examining data/openvdb-7.1.0/openvdb/tools/Clip.h Examining data/openvdb-7.1.0/openvdb/tools/Composite.h Examining data/openvdb-7.1.0/openvdb/tools/Dense.h Examining data/openvdb-7.1.0/openvdb/tools/DenseSparseTools.h Examining data/openvdb-7.1.0/openvdb/tools/Diagnostics.h Examining data/openvdb-7.1.0/openvdb/tools/FastSweeping.h Examining data/openvdb-7.1.0/openvdb/tools/Filter.h Examining data/openvdb-7.1.0/openvdb/tools/FindActiveValues.h Examining data/openvdb-7.1.0/openvdb/tools/GridOperators.h Examining data/openvdb-7.1.0/openvdb/tools/GridTransformer.h Examining data/openvdb-7.1.0/openvdb/tools/Interpolation.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetAdvect.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetFilter.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetFracture.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetMeasure.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetMorph.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetPlatonic.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetRebuild.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetSphere.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetTracker.h Examining data/openvdb-7.1.0/openvdb/tools/LevelSetUtil.h Examining data/openvdb-7.1.0/openvdb/tools/Mask.h Examining data/openvdb-7.1.0/openvdb/tools/MeshToVolume.h Examining data/openvdb-7.1.0/openvdb/tools/Morphology.h Examining data/openvdb-7.1.0/openvdb/tools/MultiResGrid.h Examining data/openvdb-7.1.0/openvdb/tools/ParticleAtlas.h Examining data/openvdb-7.1.0/openvdb/tools/ParticlesToLevelSet.h Examining data/openvdb-7.1.0/openvdb/tools/PointAdvect.h Examining data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h Examining data/openvdb-7.1.0/openvdb/tools/PointPartitioner.h Examining data/openvdb-7.1.0/openvdb/tools/PointScatter.h Examining data/openvdb-7.1.0/openvdb/tools/PointsToMask.h Examining data/openvdb-7.1.0/openvdb/tools/PoissonSolver.h Examining data/openvdb-7.1.0/openvdb/tools/PotentialFlow.h Examining data/openvdb-7.1.0/openvdb/tools/Prune.h Examining data/openvdb-7.1.0/openvdb/tools/RayIntersector.h Examining data/openvdb-7.1.0/openvdb/tools/RayTracer.h Examining data/openvdb-7.1.0/openvdb/tools/SignedFloodFill.h Examining data/openvdb-7.1.0/openvdb/tools/Statistics.h Examining data/openvdb-7.1.0/openvdb/tools/TopologyToLevelSet.h Examining data/openvdb-7.1.0/openvdb/tools/ValueTransformer.h Examining data/openvdb-7.1.0/openvdb/tools/VectorTransformer.h Examining data/openvdb-7.1.0/openvdb/tools/VelocityFields.h Examining data/openvdb-7.1.0/openvdb/tools/VolumeAdvect.h Examining data/openvdb-7.1.0/openvdb/tools/VolumeToMesh.h Examining data/openvdb-7.1.0/openvdb/tools/VolumeToSpheres.h Examining data/openvdb-7.1.0/openvdb/tree/InternalNode.h Examining data/openvdb-7.1.0/openvdb/tree/Iterator.h Examining data/openvdb-7.1.0/openvdb/tree/LeafBuffer.h Examining data/openvdb-7.1.0/openvdb/tree/LeafManager.h Examining data/openvdb-7.1.0/openvdb/tree/LeafNode.h Examining data/openvdb-7.1.0/openvdb/tree/LeafNodeBool.h Examining data/openvdb-7.1.0/openvdb/tree/LeafNodeMask.h Examining data/openvdb-7.1.0/openvdb/tree/NodeManager.h Examining data/openvdb-7.1.0/openvdb/tree/NodeUnion.h Examining data/openvdb-7.1.0/openvdb/tree/RootNode.h Examining data/openvdb-7.1.0/openvdb/tree/Tree.h Examining data/openvdb-7.1.0/openvdb/tree/TreeIterator.h Examining data/openvdb-7.1.0/openvdb/tree/ValueAccessor.h Examining data/openvdb-7.1.0/openvdb/unittest/TestAttributeArray.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestAttributeArrayString.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestAttributeGroup.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestBBox.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestClip.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestConjGradient.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestCoord.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestCpt.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestCurl.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestDelayedLoadMetadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestDense.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestDenseSparseTools.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestDiagnostics.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestDivergence.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestDoubleMetadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestExceptions.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestFastSweeping.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestFile.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestFindActiveValues.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestFloatMetadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestGradient.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestGrid.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestGridBbox.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestGridDescriptor.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestGridIO.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestGridTransformer.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestIndexFilter.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestIndexIterator.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestInit.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestInt32Metadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestInt64Metadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestInternalOrigin.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLaplacian.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLeaf.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLeafBool.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLeafIO.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLeafManager.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLeafMask.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLeafOrigin.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLevelSetRayIntersector.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLevelSetUtil.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestLinearInterp.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMaps.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMat4Metadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMath.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMeanCurvature.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMeshToVolume.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMetaMap.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMetadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMetadataIO.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestMultiResGrid.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestName.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestNodeIterator.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestNodeManager.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestNodeMask.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestParticleAtlas.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestParticlesToLevelSet.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointAdvect.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointAttribute.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointConversion.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointDelete.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointGroup.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointIndexGrid.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointMask.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointMove.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointPartitioner.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointSample.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointScatter.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPointsToMask.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPoissonSolver.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPotentialFlow.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestPrePostAPI.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestQuadraticInterp.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestQuantizedUnitVec.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestQuat.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestRay.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestStats.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestStream.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestStringMetadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTools.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTopologyToLevelSet.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTree.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTreeCombine.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTreeGetSetValues.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTreeIterators.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTreeVisitor.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestTypes.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestUtil.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestValueAccessor.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestVec2Metadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestVec3Metadata.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestVolumeRayIntersector.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestVolumeToMesh.cc Examining data/openvdb-7.1.0/openvdb/unittest/TestVolumeToSpheres.cc Examining data/openvdb-7.1.0/openvdb/unittest/main.cc Examining data/openvdb-7.1.0/openvdb/unittest/util.h Examining data/openvdb-7.1.0/openvdb/util/CpuTimer.h Examining data/openvdb-7.1.0/openvdb/util/Formats.cc Examining data/openvdb-7.1.0/openvdb/util/Formats.h Examining data/openvdb-7.1.0/openvdb/util/MapsUtil.h Examining data/openvdb-7.1.0/openvdb/util/Name.h Examining data/openvdb-7.1.0/openvdb/util/NodeMasks.h Examining data/openvdb-7.1.0/openvdb/util/NullInterrupter.h Examining data/openvdb-7.1.0/openvdb/util/PagedArray.h Examining data/openvdb-7.1.0/openvdb/util/Util.cc Examining data/openvdb-7.1.0/openvdb/util/Util.h Examining data/openvdb-7.1.0/openvdb/util/logging.h Examining data/openvdb-7.1.0/openvdb/version.h Examining data/openvdb-7.1.0/openvdb/viewer/Camera.cc Examining data/openvdb-7.1.0/openvdb/viewer/Camera.h Examining data/openvdb-7.1.0/openvdb/viewer/ClipBox.cc Examining data/openvdb-7.1.0/openvdb/viewer/ClipBox.h Examining data/openvdb-7.1.0/openvdb/viewer/Font.cc Examining data/openvdb-7.1.0/openvdb/viewer/Font.h Examining data/openvdb-7.1.0/openvdb/viewer/RenderModules.cc Examining data/openvdb-7.1.0/openvdb/viewer/RenderModules.h Examining data/openvdb-7.1.0/openvdb/viewer/Viewer.cc Examining data/openvdb-7.1.0/openvdb/viewer/Viewer.h Examining data/openvdb-7.1.0/openvdb_houdini/AttributeTransferUtil.h Examining data/openvdb-7.1.0/openvdb_houdini/GEO_PrimVDB.cc Examining data/openvdb-7.1.0/openvdb_houdini/GEO_PrimVDB.h Examining data/openvdb-7.1.0/openvdb_houdini/GEO_VDBTranslator.cc Examining data/openvdb-7.1.0/openvdb_houdini/GR_PrimVDBPoints.cc Examining data/openvdb-7.1.0/openvdb_houdini/GT_GEOPrimCollectVDB.cc Examining data/openvdb-7.1.0/openvdb_houdini/GT_GEOPrimCollectVDB.h Examining data/openvdb-7.1.0/openvdb_houdini/GU_PrimVDB.cc Examining data/openvdb-7.1.0/openvdb_houdini/GU_PrimVDB.h Examining data/openvdb-7.1.0/openvdb_houdini/GU_VDBPointTools.cc Examining data/openvdb-7.1.0/openvdb_houdini/GU_VDBPointTools.h Examining data/openvdb-7.1.0/openvdb_houdini/GeometryUtil.cc Examining data/openvdb-7.1.0/openvdb_houdini/GeometryUtil.h Examining data/openvdb-7.1.0/openvdb_houdini/OP_NodeChain.h Examining data/openvdb-7.1.0/openvdb_houdini/ParmFactory.cc Examining data/openvdb-7.1.0/openvdb_houdini/ParmFactory.h Examining data/openvdb-7.1.0/openvdb_houdini/PointUtils.cc Examining data/openvdb-7.1.0/openvdb_houdini/PointUtils.h Examining data/openvdb-7.1.0/openvdb_houdini/SHOP_OpenVDB_Points.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_NodeVDB.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_NodeVDB.h Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Activate.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Advect.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Advect_Points.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Analysis.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Clip.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Combine.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Convert.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Create.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Densify.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Diagnostics.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Fill.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Filter.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Filter_Level_Set.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Fracture.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_From_Particles.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_From_Polygons.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_LOD.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Metadata.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Morph_Level_Set.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Noise.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Occlusion_Mask.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Platonic.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Points_Convert.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Points_Delete.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Points_Group.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Potential_Flow.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Prune.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Rasterize_Points.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Ray.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Read.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Rebuild_Level_Set.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Remap.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Remove_Divergence.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Resample.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Sample_Points.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Scatter.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Segment.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Sort_Points.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_To_Polygons.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_To_Spheres.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Topology_To_Level_Set.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Transform.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Vector_Merge.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Vector_Split.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Visualize.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Write.cc Examining data/openvdb-7.1.0/openvdb_houdini/SOP_VDBVerbUtils.h Examining data/openvdb-7.1.0/openvdb_houdini/UT_VDBTools.h Examining data/openvdb-7.1.0/openvdb_houdini/UT_VDBUtils.cc Examining data/openvdb-7.1.0/openvdb_houdini/UT_VDBUtils.h Examining data/openvdb-7.1.0/openvdb_houdini/Utils.cc Examining data/openvdb-7.1.0/openvdb_houdini/Utils.h Examining data/openvdb-7.1.0/openvdb_houdini/VRAY_OpenVDB_Points.cc Examining data/openvdb-7.1.0/openvdb_houdini/abitest/TestABI.cc Examining data/openvdb-7.1.0/openvdb_houdini/abitest/TestABI.h Examining data/openvdb-7.1.0/openvdb_houdini/abitest/main.cc Examining data/openvdb-7.1.0/openvdb_houdini/geometry.cc Examining data/openvdb-7.1.0/openvdb_houdini/geometry.h Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBCopyNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBData.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBData.h Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBFilterNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBFromMayaFluidNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBFromPolygonsNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBPlugin.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBPlugin.h Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBReadNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBToPolygonsNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBTransformNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBUtil.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBUtil.h Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBVisualizeNode.cc Examining data/openvdb-7.1.0/openvdb_maya/OpenVDBWriteNode.cc FINAL RESULTS: data/openvdb-7.1.0/openvdb/io/TempFile.cc:72:24: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (0 != ::access(dir, F_OK)) { data/openvdb-7.1.0/openvdb/io/TempFile.cc:74:28: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (0 != ::access(dir, F_OK)) { data/openvdb-7.1.0/openvdb_houdini/GEO_PrimVDB.cc:2892:23: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. shmem_key.sprintf("%s:%p", shmem_owner.buffer(), this); data/openvdb-7.1.0/openvdb_houdini/GEO_PrimVDB.cc:2970:26: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. mesg.sprintf("expected to read 1 grid, got %d grid%s", data/openvdb-7.1.0/openvdb_houdini/GEO_PrimVDB.cc:3011:22: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. mesg.sprintf("expected to read 1 grid, got %d grid%s", data/openvdb-7.1.0/openvdb_houdini/GU_PrimVDB.cc:76:9: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(msg ": %f ms\n", 1000*timer.stop()); \ data/openvdb-7.1.0/openvdb_houdini/GU_PrimVDB.cc:1684:35: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. full_name.sprintf("%s%d", (const char *)name, i); data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Activate.cc:445:25: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (access.probeValue(coord, value)) data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Activate.cc:449:29: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.setValueOff(coord); data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Activate.cc:482:9: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. access.probeValue(coord, value); data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Fracture.cc:774:17: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. buf.sprintf("%s_%d", static_cast<const char*>(name), piececount(origvdboff)); data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Fracture.cc:842:17: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. buf.sprintf("%s_%d", static_cast<const char*>(name), piececount(origvdboff)); data/openvdb-7.1.0/openvdb/io/Archive.cc:1085:29: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return (nullptr == std::getenv("OPENVDB_DISABLE_DELAYED_LOAD")); data/openvdb-7.1.0/openvdb/io/File.cc:74:34: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* s = std::getenv("OPENVDB_DELAYED_LOAD_COPY_MAX_BYTES")) { data/openvdb-7.1.0/openvdb/io/TempFile.cc:71:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("OPENVDB_TEMP_DIR")) { data/openvdb-7.1.0/openvdb/io/TempFile.cc:81:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) return dir; data/openvdb-7.1.0/openvdb/io/TempFile.cc:100:37: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). const char* filename = std::tmpnam(fnbuf); data/openvdb-7.1.0/openvdb/python/pyGrid.h:2087:17: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. static void setstate(py::object gridObj, py::object stateObj) data/openvdb-7.1.0/openvdb/python/pyTransform.cc:135:17: [3] (random) setstate: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. static void setstate(py::object xformObj, py::object stateObj) data/openvdb-7.1.0/openvdb/unittest/TestAttributeArray.cc:1423:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) tempDir = dir; data/openvdb-7.1.0/openvdb/unittest/TestPointConversion.cc:279:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) tempDir = dir; data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc:209:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) tempDir = dir; data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc:548:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) tempDir = dir; data/openvdb-7.1.0/openvdb/unittest/TestPointGroup.cc:504:36: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) tempDir = dir; data/openvdb-7.1.0/openvdb/unittest/TestQuantizedUnitVec.cc:102:5: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(0); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:483:32: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (const char* dir = std::getenv("TMPDIR")) tempDir = dir; data/openvdb-7.1.0/openvdb_houdini/SOP_NodeVDB.cc:70:41: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* opHidePolicy = std::getenv("OPENVDB_OPHIDE_POLICY"); data/openvdb-7.1.0/openvdb/MetaMap.cc:182:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char sep[2] = { 0, 0 }; data/openvdb-7.1.0/openvdb/cmd/openvdb_lod.cc:295:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/cmd/openvdb_print.cc:110:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/cmd/openvdb_print.cc:171:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:399:46: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (numElems > 0) x = size_t(std::max(0, atoi(elems[0].c_str()))); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:400:46: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if (numElems > 1) y = size_t(std::max(0, atoi(elems[1].c_str()))); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:497:44: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). opts.threads = std::max(0, atoi(argv[i])); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:553:51: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). opts.samples = size_t(std::max(0, atoi(argv[i]))); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:626:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:634:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(/*delayLoad=*/false); data/openvdb-7.1.0/openvdb/cmd/openvdb_render.cc:642:30: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/cmd/openvdb_view.cc:135:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/cmd/openvdb_view.cc:156:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). viewer.open(); data/openvdb-7.1.0/openvdb/io/Archive.cc:994:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char uuidBytes[16]; data/openvdb-7.1.0/openvdb/io/Archive.cc:996:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&mUuid.data[0], uuidBytes, std::min<size_t>(16, mUuid.size())); data/openvdb-7.1.0/openvdb/io/File.cc:269:7: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). File::open(bool delayLoad, const MappedFile::Notifier& notifier) data/openvdb-7.1.0/openvdb/io/File.cc:634:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(filename().c_str(), data/openvdb-7.1.0/openvdb/io/File.h:66:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). bool open(bool delayLoad = true, const MappedFile::Notifier& = MappedFile::Notifier()); data/openvdb-7.1.0/openvdb/io/Stream.cc:88:27: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). mImpl->mFile->open(delayLoad, data/openvdb-7.1.0/openvdb/io/TempFile.cc:50:24: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). mFileDescr = ::mkstemp(&fnbuf[0]); data/openvdb-7.1.0/openvdb/io/TempFile.cc:59:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). mBuffer.open(mDevice); data/openvdb-7.1.0/openvdb/io/TempFile.cc:99:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char fnbuf[L_tmpnam]; data/openvdb-7.1.0/openvdb/io/TempFile.cc:110:26: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). os.rdbuf(mBuffer.open(mPath.c_str(), mode)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1098:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(targetBuffer + targetOffset, sourceBuffer + sourceOffset, bytes); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1201:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(this->data(), rhs.data(), this->arrayMemUsage()); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1225:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(this->newDataAsByteArray(), rhs.newDataAsByteArray(), this->arrayMemUsage()); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:97:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(destBuf, buffer.get(), destBytes); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:78:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(paddedBuffer.get(), buffer, uncompressedBytes); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:142:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(newBuffer.get(), outBuffer.get(), compressedBytes); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:210:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(newBuffer.get(), outBuffer.get(), expectedBytes); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:378:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mData.get(), temp.get(), pageSize); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:460:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(buffer.get(), mPage->buffer(mIndex), mSize); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:552:14: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(mData.get() + mBytes, str, n); data/openvdb-7.1.0/openvdb/python/pyGrid.h:1270:11: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ::memcpy(dst, src, count * sizeof(T)); data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc:565:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc:582:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc:601:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc:614:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc:631:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:940:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mIndexArray.get(), rhs.mIndexArray.get(), mIndexArraySize * sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:958:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(mIndexArray.get(), rhs.mIndexArray.get(), mIndexArraySize * sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tools/PointPartitioner.h:338:13: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&indices[0], &sortedIndices[0], sizeof(PointIndexType) * pointCount); data/openvdb-7.1.0/openvdb/tools/VolumeToMesh.h:415:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const unsigned char sAmbiguousFace[256] = { data/openvdb-7.1.0/openvdb/tools/VolumeToMesh.h:429:16: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const unsigned char sEdgeGroupTable[256][13] = { data/openvdb-7.1.0/openvdb/tools/VolumeToMesh.h:2528:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tag[2]; data/openvdb-7.1.0/openvdb/tree/NodeUnion.h:80:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. { std::memcpy(this, &other, sizeof(*this)); } data/openvdb-7.1.0/openvdb/tree/NodeUnion.h:82:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. { std::memcpy(this, &rhs, sizeof(*this)); return *this; } data/openvdb-7.1.0/openvdb/unittest/TestAttributeArray.cc:1426:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempDirBuffer[MAX_PATH+1]; data/openvdb-7.1.0/openvdb/unittest/TestFastSweeping.cc:288:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(false);//disable delayed loading data/openvdb-7.1.0/openvdb/unittest/TestFastSweeping.cc:638:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(false);//disable delayed loading data/openvdb-7.1.0/openvdb/unittest/TestFastSweeping.cc:663:8: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(false);//disable delayed loading data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:489:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:568:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:618:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:663:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:827:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:895:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:938:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1125:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CPPUNIT_ASSERT(!vdbfile.open());//opening the same file data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1127:34: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CPPUNIT_ASSERT_THROW(vdbfile.open(), openvdb::IoError); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1129:29: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CPPUNIT_ASSERT(!vdbfile.open());//opening the same file data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1165:35: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CPPUNIT_ASSERT_THROW(vdbfile2.open(), openvdb::IoError); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1195:34: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). CPPUNIT_ASSERT_THROW(vdbfile.open(), openvdb::IoError); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1225:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1292:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile2.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1356:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile2.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1448:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1574:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile2.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1704:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1899:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1917:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2039:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile2.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2114:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile.open(); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2224:21: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile.open(); data/openvdb-7.1.0/openvdb/unittest/TestGridIO.cc:151:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbfile.open(); data/openvdb-7.1.0/openvdb/unittest/TestLeafBool.cc:455:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/unittest/TestLeafMask.cc:458:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). vdbFile.open(); data/openvdb-7.1.0/openvdb/unittest/TestMultiResGrid.cc:264:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestMultiResGrid.cc:300:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(false);//disable delayed loading data/openvdb-7.1.0/openvdb/unittest/TestPointConversion.cc:282:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempDirBuffer[MAX_PATH+1]; data/openvdb-7.1.0/openvdb/unittest/TestPointConversion.cc:303:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fileIn.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc:212:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempDirBuffer[MAX_PATH+1]; data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc:336:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fileIn.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc:551:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempDirBuffer[MAX_PATH+1]; data/openvdb-7.1.0/openvdb/unittest/TestPointCount.cc:576:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fileIn.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:1202:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:1220:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:1261:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:1291:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:1386:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestPointGroup.cc:507:13: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempDirBuffer[MAX_PATH+1]; data/openvdb-7.1.0/openvdb/unittest/TestPointGroup.cc:532:20: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fileIn.open(); data/openvdb-7.1.0/openvdb/unittest/TestStream.cc:238:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:486:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tempDirBuffer[MAX_PATH+1]; data/openvdb-7.1.0/openvdb/unittest/TestTools.cc:450:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(false);//disable delayed loading data/openvdb-7.1.0/openvdb/unittest/TestTools.cc:806:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(false);//disable delayed loading data/openvdb-7.1.0/openvdb/unittest/TestTreeCombine.cc:721:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/viewer/Viewer.cc:48:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). bool open(int width = 900, int height = 800); data/openvdb-7.1.0/openvdb/viewer/Viewer.cc:229:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). Viewer::open(int width, int height) data/openvdb-7.1.0/openvdb/viewer/Viewer.cc:231:27: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (sViewer) sViewer->open(width, height); data/openvdb-7.1.0/openvdb/viewer/Viewer.cc:426:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). ViewerImpl::open(int width, int height) data/openvdb-7.1.0/openvdb/viewer/Viewer.h:36:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). void open(int width = DEFAULT_WIDTH, int height = DEFAULT_HEIGHT); data/openvdb-7.1.0/openvdb_houdini/GEO_VDBTranslator.cc:109:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(/*delayLoad*/false); data/openvdb-7.1.0/openvdb_houdini/ParmFactory.cc:72:23: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return str ? std::atoi(str) : deflt; data/openvdb-7.1.0/openvdb_houdini/PointUtils.cc:1437:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (open != std::string::npos) { data/openvdb-7.1.0/openvdb_houdini/PointUtils.cc:1438:51: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). detailName = detailName.substr(0, open); data/openvdb-7.1.0/openvdb_houdini/PointUtils.cc:1447:17: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (open != std::string::npos && close != std::string::npos && data/openvdb-7.1.0/openvdb_houdini/PointUtils.cc:1448:45: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). close == name.length()-1 && open > 0 && open+1 < close) { data/openvdb-7.1.0/openvdb_houdini/PointUtils.cc:1759:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return istring ? atoi(istring) : 0; data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_From_Particles.cc:589:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return s ? std::atoi(s) : 0; data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_From_Polygons.cc:69:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return istring ? atoi(istring) : 0; data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Points_Convert.cc:101:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return istring ? atoi(istring) : 0; data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Rasterize_Points.cc:2870:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return istring ? atoi(istring) : 0; data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Read.cc:72:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb_houdini/SOP_OpenVDB_Read.cc:370:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(delayedLoad); data/openvdb-7.1.0/openvdb_houdini/VRAY_OpenVDB_Points.cc:362:22: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open(); data/openvdb-7.1.0/openvdb/Grid.h:469:56: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void readTransform(std::istream& is) { transform().read(is); } data/openvdb-7.1.0/openvdb/Grid.h:1628:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numPasses), sizeof(uint16_t)); data/openvdb-7.1.0/openvdb/Grid.h:1650:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numPasses), sizeof(uint16_t)); data/openvdb-7.1.0/openvdb/MetaMap.cc:59:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&count), sizeof(Index32)); data/openvdb-7.1.0/openvdb/MetaMap.cc:72:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). metadata->read(is); data/openvdb-7.1.0/openvdb/MetaMap.cc:76:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). metadata.read(is); // read raw bytes into an array data/openvdb-7.1.0/openvdb/Metadata.cc:147:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&buffer[0]), numBytes); data/openvdb-7.1.0/openvdb/Metadata.h:61:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream&); data/openvdb-7.1.0/openvdb/Metadata.h:183:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&n), sizeof(Index32)); data/openvdb-7.1.0/openvdb/Metadata.h:189:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Metadata::read(std::istream& is) data/openvdb-7.1.0/openvdb/Metadata.h:285:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mValue), this->size()); data/openvdb-7.1.0/openvdb/Metadata.h:401:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(&mValue[0], size); data/openvdb-7.1.0/openvdb/io/Archive.cc:795:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&c), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:933:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&magic), sizeof(int64_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:940:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mFileVersion), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:947:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&version), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:949:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&version), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:957:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&version), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:959:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&version), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/io/Archive.cc:968:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(&hasGridOffsets, sizeof(char)); data/openvdb-7.1.0/openvdb/io/Archive.cc:983:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(&isCompressed, sizeof(char)); data/openvdb-7.1.0/openvdb/io/Archive.cc:995:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(uuidBytes, 16); data/openvdb-7.1.0/openvdb/io/Archive.cc:1042:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&gridCount), sizeof(int32_t)); data/openvdb-7.1.0/openvdb/io/Compression.cc:101:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numZippedBytes), 8); data/openvdb-7.1.0/openvdb/io/Compression.cc:108:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(data, -numZippedBytes); data/openvdb-7.1.0/openvdb/io/Compression.cc:121:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(zippedData.get()), numZippedBytes); data/openvdb-7.1.0/openvdb/io/Compression.cc:245:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numCompressedBytes), 8); data/openvdb-7.1.0/openvdb/io/Compression.cc:252:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(data, -numCompressedBytes); data/openvdb-7.1.0/openvdb/io/Compression.cc:265:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(compressedData.get()), numCompressedBytes); data/openvdb-7.1.0/openvdb/io/Compression.h:266:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(data), sizeof(T) * count); data/openvdb-7.1.0/openvdb/io/Compression.h:283:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(&buffer[0], len+1); data/openvdb-7.1.0/openvdb/io/Compression.h:296:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). static inline void read(std::istream& is, T* data, Index count, uint32_t compression, data/openvdb-7.1.0/openvdb/io/Compression.h:305:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). static inline void read(std::istream& is, T* data, Index count, uint32_t compression, data/openvdb-7.1.0/openvdb/io/Compression.h:496:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&metadata), /*bytes=*/1); data/openvdb-7.1.0/openvdb/io/Compression.h:516:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&inactiveVal0), /*bytes=*/sizeof(ValueT)); data/openvdb-7.1.0/openvdb/io/Compression.h:523:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&inactiveVal1), /*bytes=*/sizeof(ValueT)); data/openvdb-7.1.0/openvdb/io/Compression.h:561:57: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). HalfReader<RealToHalf<ValueT>::isReal, ValueT>::read( data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:155:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&count), sizeof(Index32)); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:159:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&bytes), sizeof(Index32)); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:164:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(compressedBuffer.get()), bytes); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:183:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(mMask.data()), count*sizeof(MaskType)); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:187:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&bytes), sizeof(Index32)); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:192:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(compressedBuffer.get()), bytes); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:211:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(mCompressedSize.data()), count*sizeof(CompressedSizeType)); data/openvdb-7.1.0/openvdb/io/DelayedLoadMetadata.cc:225:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(&buffer[0], bytesToSkip); data/openvdb-7.1.0/openvdb/io/File.cc:367:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gd.read(inputStream()); data/openvdb-7.1.0/openvdb/io/File.cc:662:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gd.read(is); data/openvdb-7.1.0/openvdb/io/GridDescriptor.cc:74:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridDescriptor::read(std::istream &is) data/openvdb-7.1.0/openvdb/io/GridDescriptor.cc:101:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mGridPos), sizeof(int64_t)); data/openvdb-7.1.0/openvdb/io/GridDescriptor.cc:102:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mBlockPos), sizeof(int64_t)); data/openvdb-7.1.0/openvdb/io/GridDescriptor.cc:103:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mEndPos), sizeof(int64_t)); data/openvdb-7.1.0/openvdb/io/GridDescriptor.h:66:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr read(std::istream&); data/openvdb-7.1.0/openvdb/io/Stream.cc:117:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gd.read(is); data/openvdb-7.1.0/openvdb/math/BBox.h:134:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { mMin.read(is); mMax.read(is); } data/openvdb-7.1.0/openvdb/math/BBox.h:134:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { mMin.read(is); mMax.read(is); } data/openvdb-7.1.0/openvdb/math/BBox.h:134:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { mMin.read(is); mMax.read(is); } data/openvdb-7.1.0/openvdb/math/ConjGradient.h:769:50: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator()(const SizeRange& range, bool equal) const data/openvdb-7.1.0/openvdb/math/ConjGradient.h:771:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (equal) { data/openvdb-7.1.0/openvdb/math/ConjGradient.h:776:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal; data/openvdb-7.1.0/openvdb/math/ConjGradient.h:794:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal; data/openvdb-7.1.0/openvdb/math/ConjGradient.h:992:50: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool operator()(const SizeRange& range, bool equal) const data/openvdb-7.1.0/openvdb/math/ConjGradient.h:994:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (equal) { data/openvdb-7.1.0/openvdb/math/ConjGradient.h:999:16: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal; data/openvdb-7.1.0/openvdb/math/ConjGradient.h:1018:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal; data/openvdb-7.1.0/openvdb/math/Coord.h:220:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { is.read(reinterpret_cast<char*>(mVec.data()), sizeof(mVec)); } data/openvdb-7.1.0/openvdb/math/Coord.h:220:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { is.read(reinterpret_cast<char*>(mVec.data()), sizeof(mVec)); } data/openvdb-7.1.0/openvdb/math/Coord.h:496:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { mMin.read(is); mMax.read(is); } data/openvdb-7.1.0/openvdb/math/Coord.h:496:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { mMin.read(is); mMax.read(is); } data/openvdb-7.1.0/openvdb/math/Coord.h:496:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { mMin.read(is); mMax.read(is); } data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:31:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpMin), sizeof(Vec3i::ValueType) * 3); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:32:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpMax), sizeof(Vec3i::ValueType) * 3); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:50:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpW2C), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:52:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mC2W), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:54:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpC2S), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:56:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpS2C), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:58:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWorldToLocal), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:60:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mLocalToWorld), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:63:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWindow[0]), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:64:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWindow[1]), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:65:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWindow[2]), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:66:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWindow[3]), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:67:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWindow[4]), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:68:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpWindow[5]), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:70:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpPadding), sizeof(Real)); data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:72:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpS2U), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:74:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mXYUnitToLocal), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:76:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpXYLocalToUnit), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:78:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mZUnitToLocal), data/openvdb-7.1.0/openvdb/math/LegacyFrustum.h:80:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpZLocalToUnit), data/openvdb-7.1.0/openvdb/math/Maps.h:187:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual void read(std::istream&) = 0; data/openvdb-7.1.0/openvdb/math/Maps.h:531:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override { mMatrix.read(is); updateAcceleration(); } data/openvdb-7.1.0/openvdb/math/Maps.h:531:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override { mMatrix.read(is); updateAcceleration(); } data/openvdb-7.1.0/openvdb/math/Maps.h:808:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override data/openvdb-7.1.0/openvdb/math/Maps.h:810:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mScaleValues.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:811:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mVoxelSize.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:812:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mScaleValuesInverse.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:813:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mInvScaleSqr.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:814:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mInvTwiceScale.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1063:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override { mTranslation.read(is); } data/openvdb-7.1.0/openvdb/math/Maps.h:1063:57: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override { mTranslation.read(is); } data/openvdb-7.1.0/openvdb/math/Maps.h:1335:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override data/openvdb-7.1.0/openvdb/math/Maps.h:1337:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mTranslation.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1338:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mScaleValues.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1339:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mVoxelSize.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1340:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mScaleValuesInverse.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1341:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mInvScaleSqr.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1342:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mInvTwiceScale.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:1774:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override data/openvdb-7.1.0/openvdb/math/Maps.h:1776:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mAffineMap.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:2360:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) override data/openvdb-7.1.0/openvdb/math/Maps.h:2365:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bb.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:2368:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mBBox.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:2371:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mTaper), sizeof(double)); data/openvdb-7.1.0/openvdb/math/Maps.h:2372:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mDepth), sizeof(double)); data/openvdb-7.1.0/openvdb/math/Maps.h:2384:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). proxy->read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:2658:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) data/openvdb-7.1.0/openvdb/math/Maps.h:2660:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mAffineMap.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:2661:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mFirstMap.read(is); data/openvdb-7.1.0/openvdb/math/Maps.h:2662:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mSecondMap.read(is); data/openvdb-7.1.0/openvdb/math/Mat.h:119:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { data/openvdb-7.1.0/openvdb/math/Mat.h:120:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mm), sizeof(T)*SIZE*SIZE); data/openvdb-7.1.0/openvdb/math/Quat.h:563:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { is.read(static_cast<char*>(&mm), sizeof(T) * 4); } data/openvdb-7.1.0/openvdb/math/Quat.h:563:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { is.read(static_cast<char*>(&mm), sizeof(T) * 4); } data/openvdb-7.1.0/openvdb/math/Transform.cc:68:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Transform::read(std::istream& is) data/openvdb-7.1.0/openvdb/math/Transform.cc:79:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpMin), sizeof(Coord::ValueType) * 3); data/openvdb-7.1.0/openvdb/math/Transform.cc:80:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tmpMax), sizeof(Coord::ValueType) * 3); data/openvdb-7.1.0/openvdb/math/Transform.cc:85:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tmpLocalToWorld.read(is); data/openvdb-7.1.0/openvdb/math/Transform.cc:86:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tmpWorldToLocal.read(is); data/openvdb-7.1.0/openvdb/math/Transform.cc:87:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tmpVoxelToLocal.read(is); data/openvdb-7.1.0/openvdb/math/Transform.cc:88:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tmpLocalToVoxel.read(is); data/openvdb-7.1.0/openvdb/math/Transform.cc:145:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mMap->read(is); data/openvdb-7.1.0/openvdb/math/Transform.h:144:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream&); data/openvdb-7.1.0/openvdb/math/Tuple.h:133:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream& is) { data/openvdb-7.1.0/openvdb/math/Tuple.h:134:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mm), sizeof(T)*SIZE); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:327:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual void read(std::istream&) = 0; data/openvdb-7.1.0/openvdb/points/AttributeArray.h:743:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream&) override; data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1707:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). TypedAttributeArray<ValueType_, Codec_>::read(std::istream& is) data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1721:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&bytes), sizeof(Index64)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1725:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&flags), sizeof(uint8_t)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1729:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&serializationFlags), sizeof(uint8_t)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1732:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&size), sizeof(Index)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1756:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&stride), sizeof(Index)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1779:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!mIsUniform) is.read(reinterpret_cast<char*>(&bloscCompressed), sizeof(uint8_t)); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1783:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(buffer.get(), mCompressedBytes); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1835:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(mPageHandle, std::streamsize(mPageHandle->size()), delayLoad); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:1838:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<char[]> buffer = mPageHandle->read(); data/openvdb-7.1.0/openvdb/points/AttributeArray.h:2002:57: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<char[]> buffer = self->mPageHandle->read(); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:491:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). AttributeSet::read(std::istream& is) data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:511:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mDescr->read(is); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:633:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return std::equal(mGroupMap.begin(), mGroupMap.end(), rhs.mGroupMap.begin()) && data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:634:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. std::equal(mNameMap.begin(), mNameMap.end(), rhs.mNameMap.begin()); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:657:17: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return std::equal(mGroupMap.begin(), mGroupMap.end(), rhs.mGroupMap.begin()); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:1370:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). AttributeSet::Descriptor::read(std::istream& is) data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:1373:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&arraylength), sizeof(Index64)); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:1388:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&nameAndOffset.second), sizeof(Index64)); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:1393:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&grouplength), sizeof(Index64)); data/openvdb-7.1.0/openvdb/points/AttributeSet.cc:1398:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&nameAndOffset.second), sizeof(Index64)); data/openvdb-7.1.0/openvdb/points/AttributeSet.h:261:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream&); data/openvdb-7.1.0/openvdb/points/AttributeSet.h:522:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(std::istream&); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:73:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&bytes16), sizeof(uint16_t)); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:82:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(destBuf), destBytes); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:93:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(bloscBuffer.get(), bytes16); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:1246:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mVoxelBufferSize), sizeof(uint16_t)); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:1257:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&header), sizeof(uint8_t)); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:1267:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&bytesToSkip), sizeof(uint64_t)); data/openvdb-7.1.0/openvdb/points/PointDataGrid.h:1275:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&tempData[0]), bytesToSkip); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:312:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&compressedSize), sizeof(int)); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:316:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (compressedSize > 0) is.read(reinterpret_cast<char*>(&uncompressedSize), sizeof(int)); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:355:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(buffer.get(), (isCompressed ? mInfo->compressedBytes : -mInfo->compressedBytes)); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:426:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(temp.get(), compressedBytes); data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:455:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). PageHandle::read() data/openvdb-7.1.0/openvdb/points/StreamCompression.cc:501:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). PagedInputStream::read(PageHandle::Ptr& pageHandle, std::streamsize n, bool delayed) data/openvdb-7.1.0/openvdb/points/StreamCompression.h:190:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<char[]> read(); data/openvdb-7.1.0/openvdb/points/StreamCompression.h:231:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void read(PageHandle::Ptr& pageHandle, std::streamsize n, bool delayed = true); data/openvdb-7.1.0/openvdb/python/pyOpenVDBModule.cc:524:38: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const int namelen = int(std::strlen(name)); \ data/openvdb-7.1.0/openvdb/python/pyTransform.cc:216:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). xform->read(istr); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1722:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numIndices), sizeof(Index64)); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1725:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(mIndices.data()), numIndices * sizeof(T)); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1737:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numIndices), sizeof(Index64)); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1743:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(mIndices.data()), numBytes); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1750:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(buf.get(), numBytes); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1755:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&auxDataBytes), sizeof(Index64)); data/openvdb-7.1.0/openvdb/tools/PointIndexGrid.h:1759:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(auxData.get(), auxDataBytes); data/openvdb-7.1.0/openvdb/tree/InternalNode.h:2232:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&value), sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tree/LeafNode.h:1348:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mOrigin), sizeof(Coord::ValueType) * 3); data/openvdb-7.1.0/openvdb/tree/LeafNode.h:1351:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numBuffers), sizeof(int8_t)); data/openvdb-7.1.0/openvdb/tree/LeafNode.h:1400:63: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). io::HalfReader<io::RealToHalf<T>::isReal, T>::read(is, temp.mData, SIZE, zipped); data/openvdb-7.1.0/openvdb/tree/LeafNodeBool.h:991:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mOrigin), sizeof(Coord::ValueType) * 3); data/openvdb-7.1.0/openvdb/tree/LeafNodeBool.h:1001:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numBuffers), sizeof(int8_t)); data/openvdb-7.1.0/openvdb/tree/LeafNodeMask.h:987:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mOrigin), sizeof(Coord::ValueType) * 3); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2304:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mBackground), sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2306:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&inside), sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2312:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(rangeMin.asPointer()), 3 * sizeof(Int32)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2313:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(rangeMax.asPointer()), 3 * sizeof(Int32)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2353:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&value), sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2364:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&mBackground), sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2368:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numTiles), sizeof(Index)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2369:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&numChildren), sizeof(Index)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2379:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(vec), 3 * sizeof(Int32)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2380:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&value), sizeof(ValueType)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2381:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&active), sizeof(bool)); data/openvdb-7.1.0/openvdb/tree/RootNode.h:2387:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(vec), 3 * sizeof(Int32)); data/openvdb-7.1.0/openvdb/tree/Tree.h:1262:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&bufferCount), sizeof(int32_t)); data/openvdb-7.1.0/openvdb/unittest/TestAttributeArray.cc:828:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrB.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeArray.cc:1403:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrB.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeArrayString.cc:323:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrB.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeGroup.cc:139:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrB.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc:337:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_THROW(inputDescr.read(attrIstr), openvdb::IoError); data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc:339:41: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_THROW(inputDescr.read(groupIstr), openvdb::IoError); data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc:481:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inputDescr.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc:1021:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrSetB.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc:1035:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrSetB.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestAttributeSet.cc:1046:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). attrSetC.read(istr2); data/openvdb-7.1.0/openvdb/unittest/TestCoord.cc:110:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_NO_THROW(xyz2.read(is)); data/openvdb-7.1.0/openvdb/unittest/TestDelayedLoadMetadata.cc:101:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). newMetadata.read(ss); data/openvdb-7.1.0/openvdb/unittest/TestDelayedLoadMetadata.cc:117:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). newMetadata.read(ss); data/openvdb-7.1.0/openvdb/unittest/TestDelayedLoadMetadata.cc:138:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). newMetadata.read(ss); data/openvdb-7.1.0/openvdb/unittest/TestDelayedLoadMetadata.cc:174:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). newMetadata.read(ss); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:208:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_THROW(gd2.read(istr), openvdb::LookupError); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:225:44: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_NO_THROW(gd2_grid = gd2.read(istr)); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:348:48: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_NO_THROW(gd_in_grid = gd_in.read(istr)); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:393:50: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_NO_THROW(gd2_in_grid = gd2_in.read(istr)); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1796:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&readPass), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:1804:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&origin), sizeof(openvdb::Coord)); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2618:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2645:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2665:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2678:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2691:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2704:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestFile.cc:2717:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GridBase::Ptr grid = gd2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestGridDescriptor.cc:57:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_THROW(gd2.read(istr), openvdb::LookupError); data/openvdb-7.1.0/openvdb/unittest/TestGridDescriptor.cc:66:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_NO_THROW(grid = gd2.read(istr)); data/openvdb-7.1.0/openvdb/unittest/TestMetadata.cc:130:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). CPPUNIT_ASSERT_NO_THROW(meta.read(istr)); data/openvdb-7.1.0/openvdb/unittest/TestMetadata.cc:157:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). meta.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestMetadataIO.cc:90:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tm.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestMetadataIO.cc:118:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tm1.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestMetadataIO.cc:119:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). tm2.read(istr); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:940:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(reinterpret_cast<char*>(&size), sizeof(uint16_t)); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:948:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(reinterpret_cast<char*>(&magic2), sizeof(int)); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:970:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(reinterpret_cast<char*>(&size), sizeof(uint16_t)); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:982:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(reinterpret_cast<char*>(&magic2), sizeof(int)); data/openvdb-7.1.0/openvdb/unittest/TestPointDataLeaf.cc:1030:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(reinterpret_cast<char*>(&test2), sizeof(int)); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:457:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). istream.read(handle, values.size(), false); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:473:81: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<uint8_t[]> newValues(reinterpret_cast<uint8_t*>(handle->read().release())); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:606:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). istream.read(handles[pageHandle++], values.size() - i); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:609:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). istream.read(handles[pageHandle++], increment); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:625:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). handles[0]->read(); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:643:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). handles[1]->read(); data/openvdb-7.1.0/openvdb/unittest/TestStreamCompression.cc:647:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). handles[2]->read(); data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc:113:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t->read(ss); data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc:181:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t->read(ss); data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc:235:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t->read(ss); data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc:349:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t->read(ss); data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc:392:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t->read(ss); data/openvdb-7.1.0/openvdb/unittest/TestTransform.cc:434:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). t->read(ss); data/openvdb-7.1.0/openvdb/util/Name.h:23:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(&size), sizeof(uint32_t)); data/openvdb-7.1.0/openvdb/util/Name.h:25:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (size>0) is.read(&buffer[0], size); data/openvdb-7.1.0/openvdb/util/NodeMasks.h:569:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void load(std::istream& is) { is.read(reinterpret_cast<char*>(mWords), this->memUsage()); } data/openvdb-7.1.0/openvdb/util/NodeMasks.h:807:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void load(std::istream& is) { is.read(reinterpret_cast<char*>(&mByte), 1); } data/openvdb-7.1.0/openvdb/util/NodeMasks.h:1023:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void load(std::istream& is) { is.read(reinterpret_cast<char*>(&mWord), 8); } data/openvdb-7.1.0/openvdb/util/NodeMasks.h:1374:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). is.read(reinterpret_cast<char*>(mBits), mIntSize * sizeof(Index32)); ANALYSIS SUMMARY: Hits = 405 Lines analyzed = 238708 in approximately 5.31 seconds (44975 lines/second) Physical Source Lines of Code (SLOC) = 163653 Hits@level = [0] 0 [1] 262 [2] 116 [3] 15 [4] 12 [5] 0 Hits@level+ = [0+] 405 [1+] 405 [2+] 143 [3+] 27 [4+] 12 [5+] 0 Hits/KSLOC@level+ = [0+] 2.47475 [1+] 2.47475 [2+] 0.8738 [3+] 0.164983 [4+] 0.0733259 [5+] 0 Dot directories skipped = 3 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.