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/rdkit-202003.4/Code/Catalogs/Catalog.cpp Examining data/rdkit-202003.4/Code/Catalogs/Catalog.h Examining data/rdkit-202003.4/Code/Catalogs/CatalogEntry.cpp Examining data/rdkit-202003.4/Code/Catalogs/CatalogEntry.h Examining data/rdkit-202003.4/Code/Catalogs/CatalogParams.cpp Examining data/rdkit-202003.4/Code/Catalogs/CatalogParams.h Examining data/rdkit-202003.4/Code/ChemicalFeatures/ChemicalFeature.h Examining data/rdkit-202003.4/Code/ChemicalFeatures/FreeChemicalFeature.cpp Examining data/rdkit-202003.4/Code/ChemicalFeatures/FreeChemicalFeature.h Examining data/rdkit-202003.4/Code/ChemicalFeatures/Wrap/FreeChemicalFeature.cpp Examining data/rdkit-202003.4/Code/ChemicalFeatures/Wrap/rdChemicalFeatures.cpp Examining data/rdkit-202003.4/Code/ChemicalFeatures/testChemicalFeatures.cpp Examining data/rdkit-202003.4/Code/DataManip/MetricMatrixCalc/MetricFuncs.h Examining data/rdkit-202003.4/Code/DataManip/MetricMatrixCalc/MetricMatrixCalc.h Examining data/rdkit-202003.4/Code/DataManip/MetricMatrixCalc/Wrap/rdMetricMatrixCalc.cpp Examining data/rdkit-202003.4/Code/DataManip/MetricMatrixCalc/testMatCalc.cpp Examining data/rdkit-202003.4/Code/DataStructs/BitOps.cpp Examining data/rdkit-202003.4/Code/DataStructs/BitOps.h Examining data/rdkit-202003.4/Code/DataStructs/BitVect.cpp Examining data/rdkit-202003.4/Code/DataStructs/BitVect.h Examining data/rdkit-202003.4/Code/DataStructs/BitVectUtils.h Examining data/rdkit-202003.4/Code/DataStructs/BitVects.h Examining data/rdkit-202003.4/Code/DataStructs/DatastructsException.h Examining data/rdkit-202003.4/Code/DataStructs/DatastructsStreamOps.h Examining data/rdkit-202003.4/Code/DataStructs/DiscreteDistMat.cpp Examining data/rdkit-202003.4/Code/DataStructs/DiscreteDistMat.h Examining data/rdkit-202003.4/Code/DataStructs/DiscreteValueVect.cpp Examining data/rdkit-202003.4/Code/DataStructs/DiscreteValueVect.h Examining data/rdkit-202003.4/Code/DataStructs/ExplicitBitVect.cpp Examining data/rdkit-202003.4/Code/DataStructs/ExplicitBitVect.h Examining data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp Examining data/rdkit-202003.4/Code/DataStructs/FPBReader.h Examining data/rdkit-202003.4/Code/DataStructs/MultiFPBReader.cpp Examining data/rdkit-202003.4/Code/DataStructs/MultiFPBReader.h Examining data/rdkit-202003.4/Code/DataStructs/SparseBitVect.cpp Examining data/rdkit-202003.4/Code/DataStructs/SparseBitVect.h Examining data/rdkit-202003.4/Code/DataStructs/SparseIntVect.h Examining data/rdkit-202003.4/Code/DataStructs/Utils.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/DataStructs.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/DataStructs.h Examining data/rdkit-202003.4/Code/DataStructs/Wrap/DiscreteValueVect.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/SparseIntVect.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/wrap_BitOps.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/wrap_ExplicitBV.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/wrap_FPB.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/wrap_SparseBV.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/wrap_Utils.cpp Examining data/rdkit-202003.4/Code/DataStructs/Wrap/wrap_helpers.h Examining data/rdkit-202003.4/Code/DataStructs/base64.cpp Examining data/rdkit-202003.4/Code/DataStructs/base64.h Examining data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp Examining data/rdkit-202003.4/Code/DataStructs/testFPB.cpp Examining data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/Minimize/MinimizeCLI.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/TemplEnum/TemplEnum.h Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/TemplEnum/TemplEnumTools.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/TemplEnum/main.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/TemplEnum/simple.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/IRDKit.h Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/IRDKitImpl.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/RDKitImpl.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/RDKitImpl.h Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/RDMolImpl.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/RDMolImpl.h Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/RDMolSupplierImpl.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Basement/xpcom/RDMolSupplierImpl.h Examining data/rdkit-202003.4/Code/Demos/RDKit/Draw/demo.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/Draw/qtDemo/RDKitMolToQPainter.cc Examining data/rdkit-202003.4/Code/Demos/RDKit/Draw/qtDemo/qtdraw_demo.cc Examining data/rdkit-202003.4/Code/Demos/RDKit/GettingStarted/sample.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/MPI/rdkexample1.cpp Examining data/rdkit-202003.4/Code/Demos/RDKit/MPI/rdkexample2.cpp Examining data/rdkit-202003.4/Code/Demos/boost/EBV_err/classA.h Examining data/rdkit-202003.4/Code/Demos/boost/EBV_err/classC.h Examining data/rdkit-202003.4/Code/Demos/boost/EBV_err/moduleB.cpp Examining data/rdkit-202003.4/Code/Demos/boost/EBV_err/wrapA.cpp Examining data/rdkit-202003.4/Code/Demos/boost/EBV_err/wrapC.cpp Examining data/rdkit-202003.4/Code/Demos/boost/any_container/dict.cpp Examining data/rdkit-202003.4/Code/Demos/boost/cross_mod_err/classA.h Examining data/rdkit-202003.4/Code/Demos/boost/cross_mod_err/classC.h Examining data/rdkit-202003.4/Code/Demos/boost/cross_mod_err/moduleB.cpp Examining data/rdkit-202003.4/Code/Demos/boost/cross_mod_err/wrapA.cpp Examining data/rdkit-202003.4/Code/Demos/boost/cross_mod_err/wrapC.cpp Examining data/rdkit-202003.4/Code/Demos/boost/cross_module/moda.cpp Examining data/rdkit-202003.4/Code/Demos/boost/cross_module/modb.cpp Examining data/rdkit-202003.4/Code/Demos/boost/cross_module/mods.h Examining data/rdkit-202003.4/Code/Demos/boost/numpy/linalg.cpp Examining data/rdkit-202003.4/Code/Demos/boost/overloads/overloads.cpp Examining data/rdkit-202003.4/Code/Demos/boost/python_objs/python_objs.cpp Examining data/rdkit-202003.4/Code/Demos/boost/smartPtrsAndIters/module.cpp Examining data/rdkit-202003.4/Code/Demos/sqlite/rdk_funcs.cpp Examining data/rdkit-202003.4/Code/DistGeom/BoundsMatrix.h Examining data/rdkit-202003.4/Code/DistGeom/ChiralSet.h Examining data/rdkit-202003.4/Code/DistGeom/ChiralViolationContrib.cpp Examining data/rdkit-202003.4/Code/DistGeom/ChiralViolationContrib.h Examining data/rdkit-202003.4/Code/DistGeom/DistGeomUtils.cpp Examining data/rdkit-202003.4/Code/DistGeom/DistGeomUtils.h Examining data/rdkit-202003.4/Code/DistGeom/DistViolationContrib.cpp Examining data/rdkit-202003.4/Code/DistGeom/DistViolationContrib.h Examining data/rdkit-202003.4/Code/DistGeom/FourthDimContrib.h Examining data/rdkit-202003.4/Code/DistGeom/TriangleSmooth.cpp Examining data/rdkit-202003.4/Code/DistGeom/TriangleSmooth.h Examining data/rdkit-202003.4/Code/DistGeom/Wrap/DistGeom.cpp Examining data/rdkit-202003.4/Code/DistGeom/testDistGeom.cpp Examining data/rdkit-202003.4/Code/Features/Feature.cpp Examining data/rdkit-202003.4/Code/Features/Feature.h Examining data/rdkit-202003.4/Code/Features/testFeatures.cpp Examining data/rdkit-202003.4/Code/ForceField/Contrib.h Examining data/rdkit-202003.4/Code/ForceField/ForceField.cpp Examining data/rdkit-202003.4/Code/ForceField/ForceField.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/AngleBend.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/AngleBend.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/AngleConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/AngleConstraint.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/BondStretch.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/BondStretch.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/Contribs.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/DistanceConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/DistanceConstraint.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/Nonbonded.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/Nonbonded.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/OopBend.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/OopBend.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/Params.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/Params.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/PositionConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/PositionConstraint.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/StretchBend.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/StretchBend.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/TorsionAngle.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/TorsionAngle.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/TorsionConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/TorsionConstraint.h Examining data/rdkit-202003.4/Code/ForceField/MMFF/testMMFFForceField.cpp Examining data/rdkit-202003.4/Code/ForceField/MMFF/testMMFFForceField.h Examining data/rdkit-202003.4/Code/ForceField/UFF/AngleBend.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/AngleBend.h Examining data/rdkit-202003.4/Code/ForceField/UFF/AngleConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/AngleConstraint.h Examining data/rdkit-202003.4/Code/ForceField/UFF/BondStretch.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/BondStretch.h Examining data/rdkit-202003.4/Code/ForceField/UFF/Contribs.h Examining data/rdkit-202003.4/Code/ForceField/UFF/DistanceConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/DistanceConstraint.h Examining data/rdkit-202003.4/Code/ForceField/UFF/Inversion.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/Inversion.h Examining data/rdkit-202003.4/Code/ForceField/UFF/Nonbonded.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/Nonbonded.h Examining data/rdkit-202003.4/Code/ForceField/UFF/Params.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/Params.h Examining data/rdkit-202003.4/Code/ForceField/UFF/PositionConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/PositionConstraint.h Examining data/rdkit-202003.4/Code/ForceField/UFF/TorsionAngle.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/TorsionAngle.h Examining data/rdkit-202003.4/Code/ForceField/UFF/TorsionConstraint.cpp Examining data/rdkit-202003.4/Code/ForceField/UFF/TorsionConstraint.h Examining data/rdkit-202003.4/Code/ForceField/UFF/testUFFForceField.cpp Examining data/rdkit-202003.4/Code/ForceField/Wrap/ForceField.cpp Examining data/rdkit-202003.4/Code/ForceField/Wrap/PyForceField.h Examining data/rdkit-202003.4/Code/Geometry/Grid3D.h Examining data/rdkit-202003.4/Code/Geometry/GridUtils.cpp Examining data/rdkit-202003.4/Code/Geometry/GridUtils.h Examining data/rdkit-202003.4/Code/Geometry/Transform.h Examining data/rdkit-202003.4/Code/Geometry/Transform2D.cpp Examining data/rdkit-202003.4/Code/Geometry/Transform2D.h Examining data/rdkit-202003.4/Code/Geometry/Transform3D.cpp Examining data/rdkit-202003.4/Code/Geometry/Transform3D.h Examining data/rdkit-202003.4/Code/Geometry/UniformGrid3D.cpp Examining data/rdkit-202003.4/Code/Geometry/UniformGrid3D.h Examining data/rdkit-202003.4/Code/Geometry/Utils.h Examining data/rdkit-202003.4/Code/Geometry/Wrap/Point.cpp Examining data/rdkit-202003.4/Code/Geometry/Wrap/UniformGrid3D.cpp Examining data/rdkit-202003.4/Code/Geometry/Wrap/rdGeometry.cpp Examining data/rdkit-202003.4/Code/Geometry/catch_tests.cpp Examining data/rdkit-202003.4/Code/Geometry/point.cpp Examining data/rdkit-202003.4/Code/Geometry/point.h Examining data/rdkit-202003.4/Code/Geometry/testGrid.cpp Examining data/rdkit-202003.4/Code/Geometry/testTransforms.cpp Examining data/rdkit-202003.4/Code/GraphMol/AddHs.cpp Examining data/rdkit-202003.4/Code/GraphMol/AdjustQuery.cpp Examining data/rdkit-202003.4/Code/GraphMol/Aromaticity.cpp Examining data/rdkit-202003.4/Code/GraphMol/Atom.cpp Examining data/rdkit-202003.4/Code/GraphMol/Atom.h Examining data/rdkit-202003.4/Code/GraphMol/AtomIterators.cpp Examining data/rdkit-202003.4/Code/GraphMol/AtomIterators.h Examining data/rdkit-202003.4/Code/GraphMol/Basement/FeatTrees/FeatTree.cpp Examining data/rdkit-202003.4/Code/GraphMol/Basement/FeatTrees/FeatTree.h Examining data/rdkit-202003.4/Code/GraphMol/Basement/FeatTrees/FeatTreeUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/Basement/FeatTrees/FeatTreeUtils.h Examining data/rdkit-202003.4/Code/GraphMol/Basement/FeatTrees/testFeatTrees.cpp Examining data/rdkit-202003.4/Code/GraphMol/Bond.cpp Examining data/rdkit-202003.4/Code/GraphMol/Bond.h Examining data/rdkit-202003.4/Code/GraphMol/BondIterators.cpp Examining data/rdkit-202003.4/Code/GraphMol/BondIterators.h Examining data/rdkit-202003.4/Code/GraphMol/Canon.cpp Examining data/rdkit-202003.4/Code/GraphMol/Canon.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/DaylightParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/CartesianProduct.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/Enumerate.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/Enumerate.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerateBase.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerateTypes.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerationPickler.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerationPickler.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerationStrategyBase.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EvenSamplePairs.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EvenSamplePairs.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/testEnumerate.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/MDLParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/MoleculeParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/PreprocessRxn.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/PreprocessRxn.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Reaction.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Reaction.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionDepict.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionFingerprints.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionFingerprints.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionParser.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionPickler.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionPickler.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionRunner.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionRunner.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionUtils.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/ReactionWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/SanitizeRxn.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/SanitizeRxn.h Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Wrap/Enumerate.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/Wrap/rdChemReactions.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReactionFingerprints.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemTransforms/ChemTransforms.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemTransforms/ChemTransforms.h Examining data/rdkit-202003.4/Code/GraphMol/ChemTransforms/MolFragmenter.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemTransforms/MolFragmenter.h Examining data/rdkit-202003.4/Code/GraphMol/ChemTransforms/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp Examining data/rdkit-202003.4/Code/GraphMol/Chirality.cpp Examining data/rdkit-202003.4/Code/GraphMol/Chirality.h Examining data/rdkit-202003.4/Code/GraphMol/Conformer.cpp Examining data/rdkit-202003.4/Code/GraphMol/Conformer.h Examining data/rdkit-202003.4/Code/GraphMol/ConjugHybrid.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/Depictor.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/Depictor.h Examining data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/DepictorDLL.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/depictTest.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/DepictUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/DepictUtils.h Examining data/rdkit-202003.4/Code/GraphMol/Depictor/EmbeddedFrag.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/EmbeddedFrag.h Examining data/rdkit-202003.4/Code/GraphMol/Depictor/RDDepictor.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/RDDepictor.h Examining data/rdkit-202003.4/Code/GraphMol/Depictor/Wrap/rdDepictor.cpp Examining data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/AUTOCORR2D.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/AUTOCORR2D.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/AUTOCORR3D.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/AUTOCORR3D.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/AtomFeat.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/AtomFeat.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/BCUT.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/BCUT.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/ConnectivityDescriptors.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/ConnectivityDescriptors.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/CoulombMat.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/CoulombMat.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Crippen.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Crippen.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Data3Ddescriptors.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Data3Ddescriptors.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/EEM.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/EEM.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Lipinski.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Lipinski.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MORSE.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MORSE.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MQN.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MQN.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolData3Ddescriptors.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolData3Ddescriptors.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolDescriptors.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolDescriptors.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolDescriptors3D.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolSurf.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/MolSurf.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/PBF.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/PBF.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/PMI.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/PMI.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Property.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Property.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/RDF.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/RDF.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/RegisterDescriptor.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/USRDescriptor.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/USRDescriptor.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/WHIM.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/WHIM.h Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/Wrap/rdMolDescriptors.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/datas.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testATF.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testAUTOCORR2D.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testAUTOCORR3D.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testBCUT.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testCoulombMat.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testEEM.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testGETAWAY.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testMORSE.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testPBF.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDF.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp Examining data/rdkit-202003.4/Code/GraphMol/Descriptors/testWHIM.cpp Examining data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/BoundsMatrixBuilder.cpp Examining data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/BoundsMatrixBuilder.h Examining data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/Embedder.cpp Examining data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/Embedder.h Examining data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/Wrap/rdDistGeom.cpp Examining data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Composition2N.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/DebugTrace.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/DuplicatedSeedCache.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/FMCS.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/FMCS.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Graph.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/MatchTable.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/MaximumCommonSubgraph.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/MaximumCommonSubgraph.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/RingMatchTableSet.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Seed.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Seed.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/SeedSet.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/SubstructMatchCustom.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/SubstructMatchCustom.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/SubstructureCache.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Target.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/TargetMatch.h Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/Wrap/rdFMCS.cpp Examining data/rdkit-202003.4/Code/GraphMol/FMCS/testFMCS_Unit.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/FileParserUtils.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/FileParsers.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/ForwardSDMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MaeMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/Mol2FileParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileStereochem.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileStereochem.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupParsing.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupParsing.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupWriting.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupWriting.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSupplier.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/MolWriters.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/PDBParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/PDBSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/PDBWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/ProximityBonds.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/ProximityBonds.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SDMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SDWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SVGParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceParsers.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceParsers.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceWriters.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceWriters.h Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SmilesMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/SmilesWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/TDTMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/TDTWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/TplFileParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/TplFileWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/XYZFileWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/catch_main.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/file_parsers_catch.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testExtendedStereoParsing.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testMol2ToMol.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testPropertyLists.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testSequence.cpp Examining data/rdkit-202003.4/Code/GraphMol/FileParsers/testTpls.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalog.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalog.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalogRunner.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatcherBase.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/Filters.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/Filters.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FunctionalGroupHierarchy.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FunctionalGroupHierarchy.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/Wrap/FilterCatalog.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/Wrap/rdfiltercatalog.cpp Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/Wrap/rdfiltercatalog.h Examining data/rdkit-202003.4/Code/GraphMol/FilterCatalog/filtercatalogtest.cpp Examining data/rdkit-202003.4/Code/GraphMol/FindRings.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/AtomPairGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/AtomPairGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/AtomPairs.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/AtomPairs.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/FingerprintGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/FingerprintGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/FingerprintUtil.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/FingerprintUtil.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Fingerprints.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Fingerprints.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MACCS.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MACCS.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MHFP.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MHFP.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MorganFingerprints.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MorganFingerprints.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MorganGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/MorganGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/PatternFingerprints.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/RDKitFPGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/RDKitFPGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/TopologicalTorsionGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/TopologicalTorsionGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Wrap/AtomPairWrapper.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Wrap/FingerprintGeneratorWrapper.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Wrap/MHFPWrapper.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Wrap/MorganWrapper.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Wrap/RDKitFPWrapper.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/Wrap/TopologicalTorsionWrapper.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/testFingerprintGenerators.cpp Examining data/rdkit-202003.4/Code/GraphMol/Fingerprints/testMHFPFingerprint.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/CrystalFF/TorsionAngleM6.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/CrystalFF/TorsionAngleM6.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/CrystalFF/TorsionPreferences.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/CrystalFF/TorsionPreferences.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/CrystalFF/testCrystalFF.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/FFConvenience.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/AtomTyper.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/AtomTyper.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/Builder.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/Builder.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/MMFF.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMultiThread.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/AtomTyper.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/AtomTyper.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/Builder.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/Builder.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/UFF.h Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp Examining data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/Wrap/rdForceFields.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatParams.h Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatalogUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatalogUtils.h Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragFPGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragFPGenerator.h Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/Wrap/FragCatGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/Wrap/FragCatParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/Wrap/FragCatalog.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/Wrap/FragFPGenerator.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/Wrap/rdfragcatalog.cpp Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/Wrap/rdfragcatalog.h Examining data/rdkit-202003.4/Code/GraphMol/FragCatalog/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/GraphMol.cpp Examining data/rdkit-202003.4/Code/GraphMol/GraphMol.h Examining data/rdkit-202003.4/Code/GraphMol/Kekulize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp Examining data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.h Examining data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp Examining data/rdkit-202003.4/Code/GraphMol/MMPA/Wrap/rdMMPA.cpp Examining data/rdkit-202003.4/Code/GraphMol/Matrices.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolAlign/AlignMolecules.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolAlign/AlignMolecules.h Examining data/rdkit-202003.4/Code/GraphMol/MolAlign/O3AAlignMolecules.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolAlign/O3AAlignMolecules.h Examining data/rdkit-202003.4/Code/GraphMol/MolAlign/Wrap/rdMolAlign.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolBundle.h Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/MolCatalog.h Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/MolCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/MolCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/MolCatalogParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/MolCatalogParams.h Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/Wrap/rdMolCatalog.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/Wrap/rdMolCatalog.h Examining data/rdkit-202003.4/Code/GraphMol/MolCatalog/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/FeatureParser.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/FeatureParser.h Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/MolChemicalFeature.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/MolChemicalFeature.h Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/MolChemicalFeatureDef.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/MolChemicalFeatureDef.h Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/MolChemicalFeatureFactory.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/MolChemicalFeatureFactory.h Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/Wrap/ChemicalFeatureUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/Wrap/MolChemicalFeature.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/Wrap/MolChemicalFeatureFactory.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/Wrap/rdMolChemicalFeatures.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/testFeatures.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDiscriminators.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2D.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2D.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DCairo.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DCairo.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DDetails.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DDetails.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DQt.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DQt.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DSVG.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DSVG.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DUtils.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2Dwx.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MultiMolDraw2D.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MultiMolDraw2D.h Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/MolDisplay2DWidget.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/MolDisplay2DWidget.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/QT4SelectItems.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/QT4SelectItems.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/QTGet2Strings.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/QTGet2Strings.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/RDKitSVMainWindow.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/RDKitSVMainWindow.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/RDKitSVPanel.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/RDKitSVPanel.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/RDKitSVSettings.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/RDKitSVSettings.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/rdkitsv_main.cc Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/QTDemo/stddefs.H Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/Wrap/rdMolDraw2D.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/rxn_test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolDraw2D/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/HashToString.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/MolHash.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/MolHash.h Examining data/rdkit-202003.4/Code/GraphMol/MolHash/Wrap/rdMolHash.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/mf.h Examining data/rdkit-202003.4/Code/GraphMol/MolHash/nmmolhash.h Examining data/rdkit-202003.4/Code/GraphMol/MolHash/normalize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolInterchange/MolInterchange.h Examining data/rdkit-202003.4/Code/GraphMol/MolInterchange/Parser.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolInterchange/Wrap/rdMolInterchange.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolInterchange/Writer.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolInterchange/details.h Examining data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolOps.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolOps.h Examining data/rdkit-202003.4/Code/GraphMol/MolPickler.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolPickler.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogParams.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogUtils.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Charge.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Charge.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Fragment.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Fragment.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogParams.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogUtils.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Metal.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Metal.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/MolStandardize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/MolStandardize.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Normalize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Normalize.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Tautomer.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Tautomer.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogParams.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogUtils.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogEntry.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogEntry.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogParams.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogUtils.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Validate.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Validate.h Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/Charge.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/Fragment.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/Metal.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/Normalize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/Tautomer.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/Validate.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/Wrap/rdMolStandardize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/test2.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/testCharge.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/testFragment.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/testNormalize.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/testPCS.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolStandardize/testValidate.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolTransforms/MolTransforms.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolTransforms/MolTransforms.h Examining data/rdkit-202003.4/Code/GraphMol/MolTransforms/Wrap/rdMolTransforms.cpp Examining data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/MonomerInfo.h Examining data/rdkit-202003.4/Code/GraphMol/PartialCharges/GasteigerCharges.cpp Examining data/rdkit-202003.4/Code/GraphMol/PartialCharges/GasteigerCharges.h Examining data/rdkit-202003.4/Code/GraphMol/PartialCharges/GasteigerParams.cpp Examining data/rdkit-202003.4/Code/GraphMol/PartialCharges/GasteigerParams.h Examining data/rdkit-202003.4/Code/GraphMol/PartialCharges/Wrap/rdPartialCharges.cpp Examining data/rdkit-202003.4/Code/GraphMol/PartialCharges/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/PeriodicTable.cpp Examining data/rdkit-202003.4/Code/GraphMol/PeriodicTable.h Examining data/rdkit-202003.4/Code/GraphMol/QueryAtom.cpp Examining data/rdkit-202003.4/Code/GraphMol/QueryAtom.h Examining data/rdkit-202003.4/Code/GraphMol/QueryBond.cpp Examining data/rdkit-202003.4/Code/GraphMol/QueryBond.h Examining data/rdkit-202003.4/Code/GraphMol/QueryOps.cpp Examining data/rdkit-202003.4/Code/GraphMol/QueryOps.h Examining data/rdkit-202003.4/Code/GraphMol/RDKitBase.h Examining data/rdkit-202003.4/Code/GraphMol/RDKitQueries.h Examining data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/RGroupDecomp.cpp Examining data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/RGroupDecomp.h Examining data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/Wrap/rdRGroupComposition.cpp Examining data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp Examining data/rdkit-202003.4/Code/GraphMol/ROMol.cpp Examining data/rdkit-202003.4/Code/GraphMol/ROMol.h Examining data/rdkit-202003.4/Code/GraphMol/RWMol.cpp Examining data/rdkit-202003.4/Code/GraphMol/RWMol.h Examining data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/ReducedGraphs.cpp Examining data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/ReducedGraphs.h Examining data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/Wrap/rdReducedGraphs.cpp Examining data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/Renumber.cpp Examining data/rdkit-202003.4/Code/GraphMol/Resonance.cpp Examining data/rdkit-202003.4/Code/GraphMol/Resonance.h Examining data/rdkit-202003.4/Code/GraphMol/RingInfo.cpp Examining data/rdkit-202003.4/Code/GraphMol/RingInfo.h Examining data/rdkit-202003.4/Code/GraphMol/Rings.h Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/SLNAttribs.cpp Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/SLNAttribs.h Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/SLNParse.cpp Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/SLNParse.h Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/SLNParseOps.h Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/Wrap/rdSLNParse.cpp Examining data/rdkit-202003.4/Code/GraphMol/SLNParse/test.cpp Examining data/rdkit-202003.4/Code/GraphMol/SanitException.h Examining data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/ScaffoldNetwork.cpp Examining data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/ScaffoldNetwork.h Examining data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/Wrap/rdScaffoldNetwork.cpp Examining data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/catch_main.cpp Examining data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/detail.h Examining data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/ShapeEncoder.cpp Examining data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/ShapeEncoder.h Examining data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/ShapeUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/ShapeUtils.h Examining data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/Wrap/rdShapeHelpers.cpp Examining data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/testShapeHelpers.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/CXSmilesOps.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmartsWrite.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmartsWrite.h Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmilesParse.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmilesParse.h Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmilesParseOps.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmilesParseOps.h Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmilesWrite.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/SmilesWrite.h Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/cxsmiles_test.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/main.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/primes.h Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/smamain.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/smatest.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/test.cpp Examining data/rdkit-202003.4/Code/GraphMol/SmilesParse/test2.cpp Examining data/rdkit-202003.4/Code/GraphMol/StereoGroup.cpp Examining data/rdkit-202003.4/Code/GraphMol/StereoGroup.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/AtomSymbolMatch.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/AugmentedAtomData.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/ReCharge.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/ReCharge.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Stereo.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Stereo.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StripSmallFragments.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StripSmallFragments.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StructChecker.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StructChecker.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/StructureFlags.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Tautomer.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Tautomer.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Utilites.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Utilites.h Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/Wrap/structchecker.cpp Examining data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp Examining data/rdkit-202003.4/Code/GraphMol/Subgraphs/SubgraphUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/Subgraphs/SubgraphUtils.h Examining data/rdkit-202003.4/Code/GraphMol/Subgraphs/Subgraphs.cpp Examining data/rdkit-202003.4/Code/GraphMol/Subgraphs/Subgraphs.h Examining data/rdkit-202003.4/Code/GraphMol/Subgraphs/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/Subgraphs/test2.cpp Examining data/rdkit-202003.4/Code/GraphMol/SubstanceGroup.cpp Examining data/rdkit-202003.4/Code/GraphMol/SubstanceGroup.h Examining data/rdkit-202003.4/Code/GraphMol/Substruct/SubstructMatch.cpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/SubstructMatch.h Examining data/rdkit-202003.4/Code/GraphMol/Substruct/SubstructUtils.cpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/SubstructUtils.h Examining data/rdkit-202003.4/Code/GraphMol/Substruct/bench.cpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/catch_tests.cpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/cmd_match.cpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/ullmann.hpp Examining data/rdkit-202003.4/Code/GraphMol/Substruct/vf2.hpp Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/PatternFactory.cpp Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/PatternFactory.h Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/SubstructLibrary.cpp Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/SubstructLibrary.h Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/SubstructLibrarySerialization.h Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/Wrap/SubstructLibraryWrap.cpp Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/Wrap/rdSubstructLibrary.cpp Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/Wrap/rdSubstructLibrary.h Examining data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/substructLibraryTest.cpp Examining data/rdkit-202003.4/Code/GraphMol/Trajectory/Snapshot.h Examining data/rdkit-202003.4/Code/GraphMol/Trajectory/Trajectory.cpp Examining data/rdkit-202003.4/Code/GraphMol/Trajectory/Trajectory.h Examining data/rdkit-202003.4/Code/GraphMol/Trajectory/trajectoryTest.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Atom.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Bond.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/CompressedSDMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Conformer.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/EditableMol.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/ForwardSDMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/MaeMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Mol.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/MolBundle.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/MolOps.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/MolSupplier.h Examining data/rdkit-202003.4/Code/GraphMol/Wrap/MonomerInfo.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/PDBWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Queries.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/ResonanceMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/RingInfo.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/SDMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/SDWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/SmilesMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/SmilesWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/StereoGroup.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/SubstanceGroup.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/TDTMolSupplier.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/TDTWriter.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Table.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/Trajectory.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/props.hpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdTrajectory.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdchem.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdchem.h Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdmolfiles.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdmolfiles.h Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdmolops.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdmolops.h Examining data/rdkit-202003.4/Code/GraphMol/Wrap/rdqueries.cpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/seqs.hpp Examining data/rdkit-202003.4/Code/GraphMol/Wrap/substructmethods.h Examining data/rdkit-202003.4/Code/GraphMol/atomic_data.cpp Examining data/rdkit-202003.4/Code/GraphMol/atomic_data.h Examining data/rdkit-202003.4/Code/GraphMol/blah.hpp Examining data/rdkit-202003.4/Code/GraphMol/bulktest.cpp Examining data/rdkit-202003.4/Code/GraphMol/catch_graphmol.cpp Examining data/rdkit-202003.4/Code/GraphMol/catch_main.cpp Examining data/rdkit-202003.4/Code/GraphMol/catch_sgroups.cpp Examining data/rdkit-202003.4/Code/GraphMol/cptest.cpp Examining data/rdkit-202003.4/Code/GraphMol/details.h Examining data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp Examining data/rdkit-202003.4/Code/GraphMol/itertest.cpp Examining data/rdkit-202003.4/Code/GraphMol/memtest1.cpp Examining data/rdkit-202003.4/Code/GraphMol/molopstest.cpp Examining data/rdkit-202003.4/Code/GraphMol/new_canon.cpp Examining data/rdkit-202003.4/Code/GraphMol/new_canon.h Examining data/rdkit-202003.4/Code/GraphMol/querytest.cpp Examining data/rdkit-202003.4/Code/GraphMol/resMolSupplierTest.cpp Examining data/rdkit-202003.4/Code/GraphMol/sanitTest.cpp Examining data/rdkit-202003.4/Code/GraphMol/test-valgrind.cpp Examining data/rdkit-202003.4/Code/GraphMol/test1.cpp Examining data/rdkit-202003.4/Code/GraphMol/testChirality.cpp Examining data/rdkit-202003.4/Code/GraphMol/testMolBundle.cpp Examining data/rdkit-202003.4/Code/GraphMol/testPickler.cpp Examining data/rdkit-202003.4/Code/GraphMol/testPicklerGlobalSettings.cpp Examining data/rdkit-202003.4/Code/GraphMol/testSGroup.cpp Examining data/rdkit-202003.4/Code/JavaWrappers/DiversityPick.h Examining data/rdkit-202003.4/Code/JavaWrappers/GenericRDKitException.h Examining data/rdkit-202003.4/Code/JavaWrappers/MorganFingerprints.h Examining data/rdkit-202003.4/Code/ML/Cluster/Murtagh/Clustering.cpp Examining data/rdkit-202003.4/Code/ML/Cluster/Murtagh/f2c.h Examining data/rdkit-202003.4/Code/ML/Cluster/Murtagh/hc.c Examining data/rdkit-202003.4/Code/ML/Cluster/Murtagh/hcdriver.c Examining data/rdkit-202003.4/Code/ML/Data/cQuantize.cpp Examining data/rdkit-202003.4/Code/ML/InfoTheory/CorrMatGenerator.h Examining data/rdkit-202003.4/Code/ML/InfoTheory/InfoBitRanker.cpp Examining data/rdkit-202003.4/Code/ML/InfoTheory/InfoBitRanker.h Examining data/rdkit-202003.4/Code/ML/InfoTheory/InfoGainFuncs.h Examining data/rdkit-202003.4/Code/ML/InfoTheory/Wrap/BitCorrMatGenerator.cpp Examining data/rdkit-202003.4/Code/ML/InfoTheory/Wrap/InfoBitRanker.cpp Examining data/rdkit-202003.4/Code/ML/InfoTheory/Wrap/rdInfoTheory.cpp Examining data/rdkit-202003.4/Code/MinimalLib/jswrapper.cpp Examining data/rdkit-202003.4/Code/MinimalLib/minilib.cpp Examining data/rdkit-202003.4/Code/MinimalLib/minilib.h Examining data/rdkit-202003.4/Code/MinimalLib/testMinilib.cpp Examining data/rdkit-202003.4/Code/Numerics/Alignment/AlignPoints.cpp Examining data/rdkit-202003.4/Code/Numerics/Alignment/AlignPoints.h Examining data/rdkit-202003.4/Code/Numerics/Alignment/Wrap/rdAlignment.cpp Examining data/rdkit-202003.4/Code/Numerics/Alignment/testAlignment.cpp Examining data/rdkit-202003.4/Code/Numerics/Conrec.h Examining data/rdkit-202003.4/Code/Numerics/EigenSolvers/PowerEigenSolver.cpp Examining data/rdkit-202003.4/Code/Numerics/EigenSolvers/PowerEigenSolver.h Examining data/rdkit-202003.4/Code/Numerics/EigenSolvers/testEigenSolvers.cpp Examining data/rdkit-202003.4/Code/Numerics/Matrix.h Examining data/rdkit-202003.4/Code/Numerics/Optimizer/BFGSOpt.cpp Examining data/rdkit-202003.4/Code/Numerics/Optimizer/BFGSOpt.h Examining data/rdkit-202003.4/Code/Numerics/Optimizer/LinearSearch.cpp Examining data/rdkit-202003.4/Code/Numerics/Optimizer/testOptimizer.cpp Examining data/rdkit-202003.4/Code/Numerics/SquareMatrix.h Examining data/rdkit-202003.4/Code/Numerics/SymmMatrix.h Examining data/rdkit-202003.4/Code/Numerics/Vector.h Examining data/rdkit-202003.4/Code/Numerics/testConrec.cpp Examining data/rdkit-202003.4/Code/Numerics/testMatrices.cpp Examining data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gin.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_op.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/bitstring.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/bitstring.h Examining data/rdkit-202003.4/Code/PgSQL/rdkit/cache.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/cache.h Examining data/rdkit-202003.4/Code/PgSQL/rdkit/guc.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/guc.h Examining data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit.h Examining data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/rxn_op.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/sfp_op.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp Examining data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c Examining data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c Examining data/rdkit-202003.4/Code/Query/AndQuery.h Examining data/rdkit-202003.4/Code/Query/EqualityQuery.h Examining data/rdkit-202003.4/Code/Query/GreaterEqualQuery.h Examining data/rdkit-202003.4/Code/Query/GreaterQuery.h Examining data/rdkit-202003.4/Code/Query/LessEqualQuery.h Examining data/rdkit-202003.4/Code/Query/LessQuery.h Examining data/rdkit-202003.4/Code/Query/NullQueryAlgebra.h Examining data/rdkit-202003.4/Code/Query/OrQuery.h Examining data/rdkit-202003.4/Code/Query/Query.h Examining data/rdkit-202003.4/Code/Query/QueryObjects.h Examining data/rdkit-202003.4/Code/Query/RangeQuery.h Examining data/rdkit-202003.4/Code/Query/SetQuery.h Examining data/rdkit-202003.4/Code/Query/XOrQuery.h Examining data/rdkit-202003.4/Code/Query/test.cpp Examining data/rdkit-202003.4/Code/RDBoost/PySequenceHolder.h Examining data/rdkit-202003.4/Code/RDBoost/Wrap.cpp Examining data/rdkit-202003.4/Code/RDBoost/Wrap.h Examining data/rdkit-202003.4/Code/RDBoost/Wrap/RDBase.cpp Examining data/rdkit-202003.4/Code/RDBoost/boost_numpy.h Examining data/rdkit-202003.4/Code/RDBoost/import_array.h Examining data/rdkit-202003.4/Code/RDBoost/iterator_next.h Examining data/rdkit-202003.4/Code/RDBoost/list_indexing_suite.hpp Examining data/rdkit-202003.4/Code/RDBoost/pyint_api.h Examining data/rdkit-202003.4/Code/RDBoost/python.h Examining data/rdkit-202003.4/Code/RDBoost/python_streambuf.h Examining data/rdkit-202003.4/Code/RDGeneral/BadFileException.h Examining data/rdkit-202003.4/Code/RDGeneral/BoostEndInclude.h Examining data/rdkit-202003.4/Code/RDGeneral/BoostStartInclude.h Examining data/rdkit-202003.4/Code/RDGeneral/Dict.h Examining data/rdkit-202003.4/Code/RDGeneral/Exceptions.h Examining data/rdkit-202003.4/Code/RDGeneral/FileParseException.h Examining data/rdkit-202003.4/Code/RDGeneral/Invariant.cpp Examining data/rdkit-202003.4/Code/RDGeneral/Invariant.h Examining data/rdkit-202003.4/Code/RDGeneral/LocaleSwitcher.cpp Examining data/rdkit-202003.4/Code/RDGeneral/LocaleSwitcher.h Examining data/rdkit-202003.4/Code/RDGeneral/RDAny.h Examining data/rdkit-202003.4/Code/RDGeneral/RDLog.cpp Examining data/rdkit-202003.4/Code/RDGeneral/RDLog.h Examining data/rdkit-202003.4/Code/RDGeneral/RDProps.h Examining data/rdkit-202003.4/Code/RDGeneral/RDThreads.h Examining data/rdkit-202003.4/Code/RDGeneral/RDValue-doublemagic.h Examining data/rdkit-202003.4/Code/RDGeneral/RDValue-taggedunion.h Examining data/rdkit-202003.4/Code/RDGeneral/RDValue.h Examining data/rdkit-202003.4/Code/RDGeneral/Ranking.h Examining data/rdkit-202003.4/Code/RDGeneral/StreamOps.h Examining data/rdkit-202003.4/Code/RDGeneral/hanoiSort.h Examining data/rdkit-202003.4/Code/RDGeneral/hash/detail/float_functions.hpp Examining data/rdkit-202003.4/Code/RDGeneral/hash/detail/hash_float.hpp Examining data/rdkit-202003.4/Code/RDGeneral/hash/extensions.hpp Examining data/rdkit-202003.4/Code/RDGeneral/hash/hash.hpp Examining data/rdkit-202003.4/Code/RDGeneral/hash/hash_fwd.hpp Examining data/rdkit-202003.4/Code/RDGeneral/testDict.cpp Examining data/rdkit-202003.4/Code/RDGeneral/testRDValue.cpp Examining data/rdkit-202003.4/Code/RDGeneral/types.cpp Examining data/rdkit-202003.4/Code/RDGeneral/types.h Examining data/rdkit-202003.4/Code/RDGeneral/utils.cpp Examining data/rdkit-202003.4/Code/RDGeneral/utils.h Examining data/rdkit-202003.4/Code/RDStreams/streams.cpp Examining data/rdkit-202003.4/Code/RDStreams/streams.h Examining data/rdkit-202003.4/Code/SimDivPickers/DistPicker.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/DistPicker.h Examining data/rdkit-202003.4/Code/SimDivPickers/HierarchicalClusterPicker.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/HierarchicalClusterPicker.h Examining data/rdkit-202003.4/Code/SimDivPickers/LeaderPicker.h Examining data/rdkit-202003.4/Code/SimDivPickers/MaxMinPicker.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/MaxMinPicker.h Examining data/rdkit-202003.4/Code/SimDivPickers/Wrap/HierarchicalClusterPicker.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/Wrap/LeaderPicker.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/Wrap/MaxMinPicker.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/Wrap/PickerHelpers.h Examining data/rdkit-202003.4/Code/SimDivPickers/Wrap/rdSimDivPickers.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/catch_tests.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/pickersCLI.cpp Examining data/rdkit-202003.4/Code/SimDivPickers/testPickers.cpp Examining data/rdkit-202003.4/Contrib/ConformerParser/ConformerParser.cpp Examining data/rdkit-202003.4/Contrib/ConformerParser/ConformerParser.h Examining data/rdkit-202003.4/Contrib/ConformerParser/Wrap/rdConformerParser.cpp Examining data/rdkit-202003.4/Contrib/ConformerParser/test.cpp Examining data/rdkit-202003.4/Contrib/PBF/PBFRDKit.cpp Examining data/rdkit-202003.4/Contrib/PBF/PBFRDKit.h Examining data/rdkit-202003.4/Contrib/PBF/demo.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example1.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example10.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example11.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example12.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example13.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example14.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example15.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example16.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example17.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example2.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example3.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example4.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example5.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example6.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example7.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example8.cpp Examining data/rdkit-202003.4/Docs/Book/C++Examples/example9.cpp Examining data/rdkit-202003.4/External/AvalonTools/AvalonTools.cpp Examining data/rdkit-202003.4/External/AvalonTools/AvalonTools.h Examining data/rdkit-202003.4/External/AvalonTools/Wrap/pyAvalonTools.cpp Examining data/rdkit-202003.4/External/AvalonTools/test1.cpp Examining data/rdkit-202003.4/External/CoordGen/CoordGen.h Examining data/rdkit-202003.4/External/CoordGen/Wrap/rdCoordGen.cpp Examining data/rdkit-202003.4/External/CoordGen/test.cpp Examining data/rdkit-202003.4/External/FreeSASA/RDFreeSASA.cpp Examining data/rdkit-202003.4/External/FreeSASA/RDFreeSASA.h Examining data/rdkit-202003.4/External/FreeSASA/Wrap/rdFreeSASA.cpp Examining data/rdkit-202003.4/External/FreeSASA/freesasa2.c Examining data/rdkit-202003.4/External/FreeSASA/getline.c Examining data/rdkit-202003.4/External/FreeSASA/testFreeSASA.cpp Examining data/rdkit-202003.4/External/INCHI-API/Wrap/pyInchi.cpp Examining data/rdkit-202003.4/External/INCHI-API/inchi.cpp Examining data/rdkit-202003.4/External/INCHI-API/inchi.h Examining data/rdkit-202003.4/External/INCHI-API/test.cpp Examining data/rdkit-202003.4/External/RingFamilies/test.cpp Examining data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp Examining data/rdkit-202003.4/External/YAeHMOP/EHTTools.h Examining data/rdkit-202003.4/External/YAeHMOP/Wrap/rdEHTTools.cpp Examining data/rdkit-202003.4/External/YAeHMOP/test1.cpp Examining data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp FINAL RESULTS: data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/CartesianProduct.h:135:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/Enumerate.h:142:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerateBase.h:164:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EnumerationStrategyBase.h:204:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/EvenSamplePairs.h:152:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:121:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:139:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:168:9: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. sscanf(str, "%u %c %d %d %d %f %s", &n, &c, &frag, &res.NumAtoms, data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:210:21: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. 1 == sscanf(str + len, "%s%n", name, &nn)) { data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:406:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf( data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:520:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(testsmi, test); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1209:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(smiName, "%s/smiles/%s.%u.smi", path, test, n); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1305:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(smiName, "%s/smiles/%s.%u.smi", path, test, n); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1373:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(smiName, "%s/smilesRAND/%s.%u.smi", path, test, n); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1459:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(smiName, "%s/smilesBIG/%s.%u.smi", path, test, n); data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalog.h:102:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterCatalogEntry.h:226:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatcherBase.h:137:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h:103:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h:163:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h:218:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h:331:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h:443:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/FilterCatalog/FilterMatchers.h:534:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:111:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a1, "\'%s\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:113:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a1, "\'%s:%u\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:120:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a2, "\'%s\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:122:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a2, "\'%s:%u\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:459:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a1, "\'%s\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:461:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a1, "\'%s:%u\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:488:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a1, "\'%s\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:490:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a1, "\'%s:%u\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:497:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a2, "\'%s\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:499:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(a2, "\'%s:%u\'", symbol.c_str(), label); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:264:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(core, MolToSmiles(*m, true).c_str()); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:269:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(side, MolToSmiles(*m, true).c_str()); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:272:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(fs[r], "Cc1c(C(=O)NCCO)[n+](=O)c2ccccc2n1[O-],ZINC21984717,%s,%s", data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:275:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fs[0], fs1[0]); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:276:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fs[8], fs1[8]); data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/ScaffoldNetwork.h:88:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/ScaffoldNetwork/ScaffoldNetwork.h:113:38: [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. friend class boost::serialization::access; data/rdkit-202003.4/Code/GraphMol/StructChecker/AtomSymbolMatch.cpp:240:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(pat_buf, pattern.c_str()); data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:22:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:22:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:104:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, atsym); data/rdkit-202003.4/Code/GraphMol/StructChecker/StripSmallFragments.cpp:21:9: [4] (format) snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/rdkit-202003.4/Code/GraphMol/StructChecker/StripSmallFragments.cpp:21:18: [4] (format) _snprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. #define snprintf _snprintf data/rdkit-202003.4/Code/GraphMol/bulktest.cpp:34:9: [4] (buffer) fscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. n = fscanf(inF, "%s %s", id, smi); data/rdkit-202003.4/External/INCHI-API/inchi.cpp:1266:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(_inchi, inchi.c_str()); data/rdkit-202003.4/External/INCHI-API/inchi.cpp:1810:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(inchiAtoms[i].elname, elementName.c_str()); data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:985:27: [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. std::string dirName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1004:27: [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. std::string dirName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:84:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:99:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:113:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:142:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:199:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:268:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:303:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:370:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:414:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:473:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:502:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testFPB.cpp:571:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:27:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:60:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:128:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:196:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:245:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:354:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/DataStructs/testMultiFPB.cpp:548:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:41:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:105:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:209:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:311:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/ForceField/MMFF/testMMFFForceField.cpp:298:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/Geometry/Wrap/Point.cpp:39:15: [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(RDGeom::PointND &pt, python::tuple state) { data/rdkit-202003.4/Code/Geometry/testGrid.cpp:165:27: [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. std::string dirName = getenv("RDBASE"); data/rdkit-202003.4/Code/Geometry/testTransforms.cpp:348:3: [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(time(nullptr)); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:69:22: [3] (random) random: 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. std::vector<boost::random::uniform_int_distribution<>> m_distributions; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:79:18: [3] (random) random: 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. boost::random::uniform_int_distribution<>(0, m_permutation[i] - 1)); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:89:40: [3] (random) random: 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. m_distributions.push_back(boost::random::uniform_int_distribution<>( data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:130:23: [3] (random) random: 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. std::stringstream random; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:131:5: [3] (random) random: 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. random << m_rng; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:132:21: [3] (random) random: 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. std::string s = random.str(); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:143:23: [3] (random) random: 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. std::stringstream random(s); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:144:5: [3] (random) random: 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. random >> m_rng; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSample.h:149:40: [3] (random) random: 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. m_distributions.push_back(boost::random::uniform_int_distribution<>( data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:75:22: [3] (random) random: 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. std::vector<boost::random::uniform_int_distribution<>> m_distributions; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:87:18: [3] (random) random: 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. boost::random::uniform_int_distribution<>(0, m_permutation[i] - 1)); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:100:40: [3] (random) random: 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. m_distributions.push_back(boost::random::uniform_int_distribution<>( data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:148:23: [3] (random) random: 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. std::stringstream random; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:149:5: [3] (random) random: 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. random << m_rng; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:150:21: [3] (random) random: 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. std::string s = random.str(); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:164:23: [3] (random) random: 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. std::stringstream random(s); data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:165:5: [3] (random) random: 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. random >> m_rng; data/rdkit-202003.4/Code/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h:172:40: [3] (random) random: 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. m_distributions.push_back(boost::random::uniform_int_distribution<>( data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:582:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:1201:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:2424:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:2480:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:2687:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:2922:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:2998:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:3489:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:3503:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:4117:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:4162:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:4480:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:4810:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:5559:27: [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. std::string pklName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:5611:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:5640:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:6721:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:6920:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemReactions/testReaction.cpp:7276:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:880:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:911:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:1169:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:1260:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:1459:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:1478:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ChemTransforms/testChemTransforms.cpp:1793:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/DepictorDLL.cpp:50:22: [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 *root = getenv("COMBICHEM_ROOT"); data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/DepictorDLL.cpp:51:25: [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 *release = getenv("COMBICHEM_RELEASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/Basement/DepictorDLL.cpp:63:10: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. hDLL = LoadLibrary(fullName.c_str()); data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp:90:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp:122:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp:177:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp:201:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp:435:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Depictor/testDepictor.cpp:832:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:316:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:367:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:867:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:1466:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:1555:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:2034:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test.cpp:2106:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:54:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:121:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:141:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:161:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:175:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:215:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:250:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:293:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:309:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:325:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:341:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:379:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/test3D.cpp:501:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testAUTOCORR2D.cpp:27:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testAUTOCORR3D.cpp:26:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testBCUT.cpp:62:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testCoulombMat.cpp:45:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testEEM.cpp:28:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testEEM.cpp:111:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testGETAWAY.cpp:26:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testMORSE.cpp:26:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testPBF.cpp:27:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testPBF.cpp:60:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testPBF.cpp:70:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testPBF.cpp:80:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testPBF.cpp:90:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDF.cpp:26:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp:33:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp:99:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp:166:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp:233:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp:306:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testRDFcustom.cpp:375:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testWHIM.cpp:27:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testWHIM.cpp:59:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testWHIM.cpp:91:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Descriptors/testWHIM.cpp:127:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:49:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:338:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:387:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:477:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:881:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:968:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:1158:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:1176:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:1193:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:1213:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/testDgeomHelpers.cpp:1708:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1370:3: [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(1); // make stable pseudorandom sequence data/rdkit-202003.4/Code/GraphMol/FileParsers/MolWriters.h:84:45: [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. if (dp_ostream->good()) dp_ostream->setstate(std::ios::badbit); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolWriters.h:160:45: [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. if (dp_ostream->good()) dp_ostream->setstate(std::ios::badbit); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolWriters.h:229:45: [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. if (dp_ostream->good()) dp_ostream->setstate(std::ios::badbit); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolWriters.h:295:45: [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. if (dp_ostream->good()) dp_ostream->setstate(std::ios::badbit); data/rdkit-202003.4/Code/GraphMol/FileParsers/file_parsers_catch.cpp:1436:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/file_parsers_catch.cpp:1507:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:39:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:162:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:338:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:364:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:390:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:502:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:692:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:724:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:762:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:781:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:807:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:840:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:886:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:928:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1000:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1060:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1099:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1216:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1347:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1517:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1565:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1654:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1678:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1704:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1729:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:1950:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2029:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2128:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2154:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2237:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2406:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2831:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2885:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:2950:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3014:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3057:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3136:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3167:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3197:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3251:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3296:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3329:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3363:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3395:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3417:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3446:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3462:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3481:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3504:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3578:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3600:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3635:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3663:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:3697:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4073:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4095:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4112:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4189:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4207:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4252:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4272:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4283:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4302:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4325:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4406:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4424:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4446:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4455:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4470:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4483:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4496:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4516:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4710:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4799:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4855:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4893:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4911:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4943:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:4989:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5096:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5173:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5190:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5251:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testExtendedStereoParsing.cpp:26:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMol2ToMol.cpp:412:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:38:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:291:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:351:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:781:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:842:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:904:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:925:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1027:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1101:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1122:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1183:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1543:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1581:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1631:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1661:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1708:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1736:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1785:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1957:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:1989:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2209:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2344:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2354:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2366:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2413:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2435:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2451:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2469:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolSupplier.cpp:2487:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:29:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:125:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:180:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:235:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:293:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:333:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:390:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:451:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:495:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:557:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:622:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:776:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:969:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1036:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1093:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1154:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1183:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1222:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1335:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1433:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1452:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testMolWriter.cpp:1484:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testTpls.cpp:25:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FileParsers/testTpls.cpp:71:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FilterCatalog/filtercatalogtest.cpp:79:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FilterCatalog/filtercatalogtest.cpp:237:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Fingerprints/FingerprintGenerator.cpp:167:18: [3] (random) random: 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. typedef boost::random::mersenne_twister<std::uint32_t, 32, 4, 2, 31, data/rdkit-202003.4/Code/GraphMol/Fingerprints/Fingerprints.cpp:198:18: [3] (random) random: 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. typedef boost::random::mersenne_twister<std::uint32_t, 32, 4, 2, 31, data/rdkit-202003.4/Code/GraphMol/Fingerprints/test1.cpp:1616:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Fingerprints/test1.cpp:2790:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Fingerprints/test1.cpp:3005:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Fingerprints/test1.cpp:3250:27: [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. std::string dirName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Fingerprints/testFingerprintGenerators.cpp:1711:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Fingerprints/testFingerprintGenerators.cpp:2326:27: [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. std::string dirName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:322:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:406:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:451:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:481:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:520:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:584:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:657:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:701:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:902:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:959:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMMFFHelpers.cpp:997:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/MMFF/testMultiThread.cpp:52:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:365:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:589:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:636:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:695:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:726:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:763:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:826:24: [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. std::string pathName=getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:931:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:976:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:1075:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:1117:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:1232:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:1289:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ForceFieldHelpers/UFF/testUFFHelpers.cpp:1327:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FragCatalog/test1.cpp:92:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/FragCatalog/test1.cpp:216:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:32:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:70:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:90:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:143:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:163:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:191:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:223:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:254:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:299:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:337:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:492:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:557:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:678:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:731:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:799:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolAlign/testMolAlign.cpp:871:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/testFeatures.cpp:448:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolChemicalFeatures/testFeatures.cpp:630:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolDraw2D/test1.cpp:468:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolDraw2D/test1.cpp:612:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolDraw2D/test1.cpp:2271:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:33:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:205:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:283:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:347:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/MolStandardize.h:43: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. const char *rdbase_cstr = std::getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/Validate.cpp:77:22: [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. auto rdbase_cstr = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/test1.cpp:143:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/test1.cpp:262:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testPCS.cpp:153: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. std::string rdbase = std::getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:22:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:858:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:887:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:914:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:961:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:996:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:1033:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolStandardize/testTautomer.cpp:1066:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:118:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:146:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:165:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:186:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:210:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:259:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/MolTransforms/test1.cpp:306:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/testShapeHelpers.cpp:27:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/testShapeHelpers.cpp:41:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/SmilesParse/test.cpp:3539:26: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/SmilesParse/test.cpp:4126:10: [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. std::srand(0xf00d); // be sure we use it for testcase! data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:93:30: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:93:49: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:320:30: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:320:49: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:483:30: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:483:49: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:565:30: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:565:49: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:586:30: [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 std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:805:30: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/StructChecker/testStructChecker.cpp:805:49: [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 std::string rdbase = getenv("RDBASE") ? getenv("RDBASE") : "."; data/rdkit-202003.4/Code/GraphMol/Substruct/bench.cpp:33:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Substruct/test1.cpp:698:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/substructLibraryTest.cpp:95:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/SubstructLibrary/substructLibraryTest.cpp:165:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Trajectory/trajectoryTest.cpp:203:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Trajectory/trajectoryTest.cpp:258:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Trajectory/trajectoryTest.cpp:469:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Trajectory/trajectoryTest.cpp:512:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/Trajectory/trajectoryTest.cpp:557:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/catch_graphmol.cpp:113:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/catch_graphmol.cpp:127:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:103:18: [3] (random) random: 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. typedef boost::random::mersenne_twister<std::uint32_t, 32, 4, 2, 31, data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:904:8: [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. std::srand(0xF00D); data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:943:8: [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. std::srand(0xF00D); data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:976:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:1234:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:1313:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/hanoitest.cpp:1517:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:2069:14: [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. pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3155:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3313:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3340:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3396:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3419:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3436:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3603:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3613:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3745:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:3840:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4033:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4063:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4094:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4108:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4181:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4325:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4506:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4636:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4646:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4655:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:4753:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:5047:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:5058:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:5184:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:6462:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:6909:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:6922:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:6935:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:6947:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/molopstest.cpp:7518:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/resMolSupplierTest.cpp:649:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/test1.cpp:1197:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:35:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:124:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:280:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:1067:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:1149:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:1648:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:1708:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:1872:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:2294:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:2668:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:2704:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:2776:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testChirality.cpp:3025:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:35:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:72:25: [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. std::string smiName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:74:25: [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. std::string pklName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:99:25: [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. std::string smiName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:101:25: [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. std::string pklName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:135:25: [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. std::string smiName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:137:25: [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. std::string pklName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:172:25: [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. std::string smiName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:175:25: [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. std::string pklName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:737:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:810:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testPickler.cpp:862:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/Code/GraphMol/testSGroup.cpp:1033: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. std::string rdbase = std::string(getenv("RDBASE")); data/rdkit-202003.4/Code/RDBoost/Wrap/RDBase.cpp:102:40: [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. void seedRNG(unsigned int seed) { std::srand(seed); } data/rdkit-202003.4/Code/SimDivPickers/catch_tests.cpp:38:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Contrib/ConformerParser/test.cpp:61:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/Docs/Book/C++Examples/example1.cpp:18:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/Docs/Book/C++Examples/example12.cpp:23:26: [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. std::string smi_file = getenv("RDBASE"); data/rdkit-202003.4/Docs/Book/C++Examples/example13.cpp:18:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/Docs/Book/C++Examples/example14.cpp:37:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/Docs/Book/C++Examples/example17.cpp:61:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/Docs/Book/C++Examples/example2.cpp:17:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/Docs/Book/C++Examples/example3.cpp:13:27: [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. std::string file_root = getenv("RDBASE"); data/rdkit-202003.4/Docs/Book/C++Examples/example4.cpp:49:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/Docs/Book/C++Examples/example5.cpp:21:27: [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. std::string file_root = getenv( "RDBASE" ); data/rdkit-202003.4/External/AvalonTools/test1.cpp:320:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/AvalonTools/test1.cpp:338:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/AvalonTools/test1.cpp:360:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/AvalonTools/test1.cpp:427:28: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/AvalonTools/test1.cpp:443:14: [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. std::getenv("TEMP") + data/rdkit-202003.4/External/AvalonTools/test1.cpp:445:26: [3] (tmpfile) tmpnam: Temporary file race condition (CWE-377). std::string(std::tmpnam(nullptr)) + std::string("\n"); data/rdkit-202003.4/External/CoordGen/CoordGen.h:55:24: [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. auto rdbase = std::getenv("RDBASE"); data/rdkit-202003.4/External/FreeSASA/testFreeSASA.cpp:355:24: [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. std::string rdbase = getenv("RDBASE"); data/rdkit-202003.4/External/INCHI-API/test.cpp:64:23: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/External/INCHI-API/test.cpp:123:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/External/INCHI-API/test.cpp:158:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/External/INCHI-API/test.cpp:277:25: [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. std::string fName = getenv("RDBASE"); data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:85:12: [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 (std::getenv("BIND_PARM_FILE") == nullptr) { data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:86:24: [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. auto rdbase = std::getenv("RDBASE"); data/rdkit-202003.4/External/YAeHMOP/test1.cpp:17:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/YAeHMOP/test1.cpp:31:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/YAeHMOP/test1.cpp:91:26: [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. std::string pathName = getenv("RDBASE"); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:3351:10: [3] (random) random: 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. auto random( T const& first, T const& last ) -> Generator<T> { data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:3358:10: [3] (random) random: 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. auto random( size_t size ) -> Generator<T> { data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:9361:18: [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. std::srand( config.rngSeed() ); data/rdkit-202003.4/Code/DataStructs/BitOps.cpp:735:3: [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 tptr[3]; data/rdkit-202003.4/Code/DataStructs/DiscreteValueVect.cpp:31:3: [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(static_cast<void *>(data), static_cast<const void *>(odata), data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:54:3: [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[tagNameSize + 1]; data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:196:5: [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(static_cast<void *>(res), fpData, data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:577:3: [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 magic[detail::magicSize]; data/rdkit-202003.4/Code/DataStructs/Utils.cpp:60: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 bytes[3]; data/rdkit-202003.4/Code/DataStructs/base64.cpp:43:19: [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. static unsigned char transTable[64] = { data/rdkit-202003.4/Code/DataStructs/base64.cpp:88:12: [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. unsigned char transTable[256]; data/rdkit-202003.4/Code/DataStructs/base64.cpp:114:12: [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. unsigned char block[4]; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:989: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). outS.open(pklName.c_str(),std::ios_base::binary); data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1008: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). inS.open(pklName.c_str(), std::ios_base::binary); data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1334:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1338:20: [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 bv1[5] = {0x1, 0x1, 0x3, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1342:20: [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 bv1[5] = {0x0, 0x0, 0x0, 0x0, 0x0}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1346:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1347:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1351:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1352:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1356:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1357:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1361:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1362:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1366:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1367:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1371:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1372:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1376:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1377:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1381:20: [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 bv1[5] = {0x1, 0x1, 0x1, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1382:20: [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 bv2[5] = {0x1, 0x1, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1387:20: [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 bv1[5] = {0x1, 0x0, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1388:20: [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 bv2[5] = {0x1, 0x1, 0x5, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1392:20: [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 bv1[5] = {0x1, 0x0, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1393:20: [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 bv2[5] = {0x1, 0x1, 0x2, 0x1, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1398:20: [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 bv1[5] = {0x1, 0x0, 0x1, 0x0, 0x1}; data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1399:20: [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 bv2[5] = {0x1, 0x1, 0x5, 0x1, 0x1}; data/rdkit-202003.4/Code/Demos/RDKit/Draw/qtDemo/RDKitMolToQPainter.cc:195:3: [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 letter[2] = { '\0' , '\0' }; data/rdkit-202003.4/Code/Demos/sqlite/rdk_funcs.cpp:306:45: [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 *t1 = (const unsigned char *)sqlite3_value_blob(argv[0]); data/rdkit-202003.4/Code/Demos/sqlite/rdk_funcs.cpp:308:45: [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 *t2 = (const unsigned char *)sqlite3_value_blob(argv[1]); data/rdkit-202003.4/Code/Demos/sqlite/rdk_funcs.cpp:359:45: [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 *t1 = (const unsigned char *)sqlite3_value_blob(argv[0]); data/rdkit-202003.4/Code/Demos/sqlite/rdk_funcs.cpp:361:45: [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 *t2 = (const unsigned char *)sqlite3_value_blob(argv[1]); data/rdkit-202003.4/Code/DistGeom/Wrap/DistGeom.cpp:59:3: [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(static_cast<void *>(cData), static_cast<const void *>(inData), data/rdkit-202003.4/Code/DistGeom/Wrap/DistGeom.cpp:65:3: [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(static_cast<void *>(inData), static_cast<const void *>(cData), data/rdkit-202003.4/Code/DistGeom/Wrap/DistGeom.cpp:97:3: [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(static_cast<void *>(cData), static_cast<const void *>(inData), data/rdkit-202003.4/Code/ForceField/MMFF/testMMFFForceField.cpp:358: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). rdkFStream.open(rdk.c_str(), data/rdkit-202003.4/Code/ForceField/MMFF/testMMFFForceField.cpp:410: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). rdkFStream.open(rdk.c_str(), std::fstream::in | std::fstream::binary); data/rdkit-202003.4/Code/ForceField/MMFF/testMMFFForceField.cpp:411: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). refFStream.open(ref.c_str(), std::fstream::in | std::fstream::binary); data/rdkit-202003.4/Code/Geometry/testGrid.cpp:169: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). inS.open(pklName.c_str(), std::ios_base::binary); data/rdkit-202003.4/Code/GraphMol/Depictor/Wrap/rdDepictor.cpp:86:3: [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(static_cast<void *>(cData), static_cast<const void *>(inData), data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp:89:3: [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 buff[32]; data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp:90:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buff, "%.*g", n, x); // use g to have significant digits! data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp:145:13: [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 (abs(atoi(ta.c_str()) - atoi(tb.c_str())) < 2) { data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp:145:32: [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 (abs(atoi(ta.c_str()) - atoi(tb.c_str())) < 2) { data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp:169:13: [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 (abs(atoi(ta.c_str()) - atoi(tb.c_str())) < 2) { data/rdkit-202003.4/Code/GraphMol/Descriptors/GETAWAY.cpp:169:32: [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 (abs(atoi(ta.c_str()) - atoi(tb.c_str())) < 2) { data/rdkit-202003.4/Code/GraphMol/Descriptors/USRDescriptor.cpp:148:7: [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 char *smartsPatterns[4] = { data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/Wrap/rdDistGeom.cpp:137:3: [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(static_cast<void *>(PyArray_DATA(res)), data/rdkit-202003.4/Code/GraphMol/DistGeomHelpers/Wrap/rdDistGeom.cpp:209:3: [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(static_cast<void *>(cData), static_cast<const void *>(inData), data/rdkit-202003.4/Code/GraphMol/FMCS/TargetMatch.h:35:7: [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(&TargetAtomIdx[0], &src.TargetAtomIdx[0], data/rdkit-202003.4/Code/GraphMol/FMCS/TargetMatch.h:38:7: [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(&TargetBondIdx[0], &src.TargetBondIdx[0], data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:129:3: [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 str[4096]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:139:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(str, ".%u.out", test_N[0]); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:141:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(str, ".%u-%u.out", test_N[0], test_N.back()); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:156:13: [2] (misc) fopen: 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* f = fopen(referenceOutFile.c_str(), "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:166: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 mcs[1024]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:179:7: [2] (misc) fopen: 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). f = fopen(test, "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:204: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 name[256]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:220:7: [2] (misc) fopen: 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). f = fopen(molFile.c_str(), "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:248:7: [2] (misc) fopen: 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). f = fopen(outFile.c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:259:14: [2] (misc) fopen: 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* ft = fopen((outFile + ".stat.csv").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:512:3: [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 smiles[4096]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:514:13: [2] (misc) fopen: 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* f = fopen(test, "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:519:3: [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 testsmi[512]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:521:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(testsmi + strlen(test) - 3, "smi"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:522:16: [2] (misc) fopen: 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* fsmi = fopen(testsmi, "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:523:16: [2] (misc) fopen: 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* fres = fopen(csv, "at"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:567:16: [2] (misc) fopen: 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* fres = fopen("chembl_II_sets.C.res.csv", "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:898:16: [2] (misc) fopen: 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* fcmd = fopen("chembl_II_sets.bat", "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:924:16: [2] (misc) fopen: 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* fres = fopen("chembl_II_sets.SLOW.C++.res.csv", "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:969:3: [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 smiles[4096]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:971:13: [2] (misc) fopen: 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* f = fopen(test, "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:976:14: [2] (misc) fopen: 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* fs = fopen((std::string(test) + ".smi").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1200:7: [2] (misc) fopen: 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). fopen((std::string(path) + "_" + test + ".SMI.C.csv").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1208: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 smiName[256]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1210:18: [2] (misc) fopen: 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* fsmi = fopen(smiName, "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1215: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 smiles[4096]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1259:16: [2] (misc) fopen: 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* fall = fopen((std::string(path) + "_ALL.P.bat").c_str(), "at"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1263:16: [2] (misc) fopen: 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* fcmd = fopen((std::string(path) + "_" + test + ".P.bat").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1264:16: [2] (misc) fopen: 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* fcsv = fopen((std::string(path) + "_" + test + ".C.csv").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1304: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 smiName[256]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1306:18: [2] (misc) fopen: 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* fsmi = fopen(smiName, "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1372: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 smiName[256]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1374:18: [2] (misc) fopen: 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* fsmi = fopen(smiName, "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1435:10: [2] (misc) fopen: 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). fall = fopen((std::string(path) + "_ALL_BIG.P.bat").c_str(), "at"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1440:7: [2] (misc) fopen: 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). fopen((std::string(path) + "_" + test + ".BIG_MCS.P.bat").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1442:7: [2] (misc) fopen: 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). fopen((std::string(path) + "_" + test + ".BIG_MCS.C.csv").c_str(), "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1458: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 smiName[512]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1497:20: [2] (misc) fopen: 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* fsmi = fopen(smiName, "wt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1531:3: [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 smiles[4096]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1533:13: [2] (misc) fopen: 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* f = fopen(test, "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1755: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 test[256]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1756:19: [2] (misc) fopen: 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* f = fopen(argv[2], "rt"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1763: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 test[256]; data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1764:19: [2] (misc) fopen: 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* f = fopen(argv[2], "rt"); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2270:27: [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). unsigned int molIdx = atoi(token->c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2315:18: [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). int mapNum = atoi(token->c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2371:28: [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). unsigned int bondIdx = atoi(splitLine[0].c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2372:26: [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). unsigned int bType = atoi(splitLine[1].c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2373:26: [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). unsigned int a1Idx = atoi(splitLine[2].c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2374:26: [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). unsigned int a2Idx = atoi(splitLine[3].c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileParser.cpp:2452:28: [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). unsigned int cfg = atoi(val.c_str()); data/rdkit-202003.4/Code/GraphMol/FileParsers/MolFileWriter.cpp:657:3: [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 dest[128]; data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupWriting.h:23:3: [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 output[5]; data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupWriting.h:29:3: [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 output[4]; data/rdkit-202003.4/Code/GraphMol/FileParsers/MolSGroupWriting.h:35:3: [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 output[11]; data/rdkit-202003.4/Code/GraphMol/FileParsers/PDBParser.cpp:88:3: [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 symb[3]; data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceParsers.cpp:590:3: [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 chain[2]; data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceParsers.cpp:977:3: [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 chain[2]; data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceParsers.cpp:1646:3: [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 chain[2]; data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceWriters.cpp:454:3: [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 buffer[32]; data/rdkit-202003.4/Code/GraphMol/FileParsers/SequenceWriters.cpp:479:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%u:R%c", j + 1, ch); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5376:3: [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 buffer[1024]; data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5377:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5386:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5391:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5395:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/FileParsers/test1.cpp:5400:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/Fingerprints/FingerprintUtil.cpp:184:7: [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 char *smartsPatterns[6] = { data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:109:7: [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 a1[32]; data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:118:7: [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 a2[32]; data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:457: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 a1[32]; data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:486: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 a1[32]; data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA.cpp:495: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 a2[32]; data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:193:3: [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 fs[15][256]; // 15 reference results with updated RDKit's SMARTS Writer data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:261: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 core[256] = "", side[256]; data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:50:3: [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(static_cast<void *>(lastD), static_cast<void *>(adjMat), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:64:3: [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(static_cast<void *>(lastP), static_cast<void *>(pathMat), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:91:3: [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(static_cast<void *>(adjMat), static_cast<void *>(lastD), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:93:3: [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(static_cast<void *>(pathMat), static_cast<void *>(lastP), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:113:3: [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(static_cast<void *>(lastD), static_cast<void *>(adjMat), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:127:3: [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(static_cast<void *>(lastP), static_cast<void *>(pathMat), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:154:3: [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(static_cast<void *>(adjMat), static_cast<void *>(lastD), data/rdkit-202003.4/Code/GraphMol/Matrices.cpp:156:3: [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(static_cast<void *>(pathMat), static_cast<void *>(lastP), data/rdkit-202003.4/Code/GraphMol/MolAlign/O3AAlignMolecules.h:204:7: [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(d_SDMPtrVect[i].get(), other.d_SDMPtrVect[i].get(), data/rdkit-202003.4/Code/GraphMol/MolAlign/O3AAlignMolecules.h:217:7: [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(d_SDMPtrVect[i].get(), other.d_SDMPtrVect[i].get(), data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DCairo.cpp:103:3: [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 txt[2]; data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DCairo.cpp:174:3: [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 txt[2]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:171:3: [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 buffer[16]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:179:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%u", hist[elem]); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:188:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%d", charge); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:194:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%d", -charge); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:309:3: [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 buffer[32]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:325:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "_%d", charge); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:334:3: [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 buffer[32]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:367:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "_%d_%d", hcount, charge); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:369:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "_%d", hcount - charge); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:513:3: [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 buffer[16]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:514:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%d", totalq); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:520:3: [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 buffer[64]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:533:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "B%uR%uL%u", bcount, rcount, lcount); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:535:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "B%uR%u", bcount, rcount); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:676:3: [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 buffer[256]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:787:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%04x%04x%02x%04x%04x%06x%02x%02x%02x", acount, bcount, data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:795:3: [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 buffer[32]; data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:831:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%u,%u", mol->getNumAtoms(), mol->getNumBonds()); data/rdkit-202003.4/Code/GraphMol/MolHash/hashfunctions.cpp:846:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%u,%u,%u,%u", dv[0], dv[1], dv[2], dv[3]); data/rdkit-202003.4/Code/GraphMol/MolHash/mf.h:14:17: [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. static unsigned char OrganicHillOrder[119] = { data/rdkit-202003.4/Code/GraphMol/MolHash/mf.h:136:17: [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. static unsigned char InorganicHillOrder[119] = { data/rdkit-202003.4/Code/GraphMol/MolHash/mf.h:259:14: [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. static const char *symbol[119] = { data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp:536:13: [2] (misc) fopen: 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* f = fopen(file, "rt"); data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp:541:3: [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 smiles[4096]; data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp:599:37: [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). RDKit::checkCollisions(argv[1], atoi(argv[2])); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:460:3: [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 buffer[1024]; data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:461:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:470:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:475:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:479:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/MolInterchange/test1.cpp:484:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%0.2f", d); data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogUtils.cpp:87:3: [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 inLine[MAX_LINE_LEN]; data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogUtils.cpp:82:3: [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 inLine[MAX_LINE_LEN]; data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogUtils.cpp:151:3: [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 inLine[MAX_LINE_LEN]; data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogUtils.cpp:80:3: [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 inLine[MAX_LINE_LEN]; data/rdkit-202003.4/Code/GraphMol/MolTransforms/Wrap/rdMolTransforms.cpp:37:3: [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(static_cast<void *>(resData), static_cast<const void *>(tdata), data/rdkit-202003.4/Code/GraphMol/MolTransforms/Wrap/rdMolTransforms.cpp:119:3: [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(static_cast<void *>(tData), static_cast<void *>(inData), data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:82:7: [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 char *symdata[5] = {"c1(Cl)ccccc1", "c1c(Cl)cccc1", "c1c(Cl)cccc1", data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:111:7: [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 char *matchRGroupOnlyData[5] = { data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:151:7: [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 char *ringData[3] = {"c1cocc1", "c1c[nH]cc1", "c1cscc1"}; data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:153:7: [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 char *ringDataRes[3] = {"Core:c1cc:[*:1]:c1 R1:o(:[*:1]):[*:1]", data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:186:7: [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 char *ringData2[3] = {"c1cocc1CCl", "c1c[nH]cc1CI", "c1cscc1CF"}; data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:188:7: [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 char *ringDataRes2[3] = { data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:224:7: [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 char *ringData3[3] = {"c1cocc1CCl", "c1c[nH]cc1CI", "c1cscc1CF"}; data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:226:7: [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 char *ringDataRes3[3] = { data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:321: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. const char *smilesData[3] = {"O=c1cc(Cn2ccnc2)c2ccc(Oc3ccccc3)cc2o1", data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:354:11: [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 char *smilesData[3] = {"O=c1cc(Cn2ccnc2)c2ccc(Oc3ccccc3)cc2o1", data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:373:11: [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 char *smilesData[3] = {"O=c1cc(Cn2ccnc2)c2ccc(Oc3ccccc3)cc2o1", data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:403:11: [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 char *smilesData[5] = {"Oc1ccccc1", "Oc1c(F)cccc1", "Oc1ccccc1F", data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:511: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. const char *smilesData[2] = {"OCC", "COCC"}; data/rdkit-202003.4/Code/GraphMol/RGroupDecomposition/testRGroupDecomp.cpp:858:11: [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 char *expected[4] = { data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/ReducedGraphs.cpp:53:7: [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 char *smartsPatterns[nFeatures] = { data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/Wrap/rdReducedGraphs.cpp:51:3: [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(static_cast<void *>(PyArray_DATA(res)), data/rdkit-202003.4/Code/GraphMol/ReducedGraphs/Wrap/rdReducedGraphs.cpp:67:3: [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(static_cast<void *>(PyArray_DATA(res)), data/rdkit-202003.4/Code/GraphMol/ShapeHelpers/Wrap/rdShapeHelpers.cpp:43:3: [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(static_cast<void *>(tData), static_cast<const void *>(inData), data/rdkit-202003.4/Code/GraphMol/SmilesParse/test.cpp:4050:11: [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 char *benzenes[6] = { data/rdkit-202003.4/Code/GraphMol/SmilesParse/test.cpp:4064:11: [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 char *not_allowed[2] = {"c%()ccccc%()", "c%(100000)ccccc%(100000)"}; data/rdkit-202003.4/Code/GraphMol/StructChecker/AtomSymbolMatch.cpp:237:3: [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 pat_buf[512]; data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:31:3: [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 nstr[512] = ""; data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:102:3: [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 buf[512]; data/rdkit-202003.4/Code/GraphMol/StructChecker/StripSmallFragments.cpp:46:3: [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 propertyValue[64]; data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp:267:14: [2] (misc) fopen: 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 *fp = fopen(path.c_str(), "r"); data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp:275:3: [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 str[1024]; data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp:347:14: [2] (misc) fopen: 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 *fp = fopen(path.c_str(), "r"); data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp:357:3: [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 buffer[80]; data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp:380: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 str[1024]; data/rdkit-202003.4/Code/GraphMol/Wrap/MolOps.cpp:438:3: [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(PyArray_DATA(res), static_cast<void *>(distMat), data/rdkit-202003.4/Code/GraphMol/Wrap/MolOps.cpp:456:3: [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(PyArray_DATA(res), static_cast<void *>(distMat), data/rdkit-202003.4/Code/GraphMol/Wrap/MolOps.cpp:479:5: [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(PyArray_DATA(res), static_cast<void *>(tmpMat), data/rdkit-202003.4/Code/GraphMol/bulktest.cpp:25:3: [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 smi[512], id[256]; data/rdkit-202003.4/Code/GraphMol/bulktest.cpp:27:15: [2] (misc) fopen: 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 *inF = fopen(fName, "r"); data/rdkit-202003.4/Code/GraphMol/sanitTest.cpp:68:3: [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 inLine[MAX_LINE_LEN]; data/rdkit-202003.4/Code/ML/Data/cQuantize.cpp:146:7: [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(bestCuts, cuts, nCuts * sizeof(long int)); data/rdkit-202003.4/Code/ML/Data/cQuantize.cpp:151:7: [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(tCuts, cuts, nCuts * sizeof(long int)); data/rdkit-202003.4/Code/ML/Data/cQuantize.cpp:156: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(bestCuts, tCuts, nCuts * sizeof(long int)); data/rdkit-202003.4/Code/ML/Data/cQuantize.cpp:181:3: [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(cuts, bestCuts, nCuts * sizeof(long int)); data/rdkit-202003.4/Code/ML/InfoTheory/Wrap/BitCorrMatGenerator.cpp:30:3: [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(static_cast<void *>(PyArray_DATA(res)), static_cast<void *>(dres), data/rdkit-202003.4/Code/ML/InfoTheory/Wrap/InfoBitRanker.cpp:34:3: [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(static_cast<void *>(PyArray_DATA(res)), static_cast<void *>(dres), data/rdkit-202003.4/Code/Numerics/Matrix.h:71:5: [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(static_cast<void *>(data), static_cast<const void *>(otherData), data/rdkit-202003.4/Code/Numerics/Matrix.h:110:5: [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(static_cast<void *>(rData), static_cast<void *>(&data[id]), data/rdkit-202003.4/Code/Numerics/Matrix.h:144:5: [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(static_cast<void *>(data), static_cast<const void *>(otherData), data/rdkit-202003.4/Code/Numerics/SymmMatrix.h:60:5: [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(static_cast<void *>(data), static_cast<const void *>(otherData), data/rdkit-202003.4/Code/Numerics/Vector.h:70:5: [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(static_cast<void *>(data), static_cast<const void *>(otherData), data/rdkit-202003.4/Code/Numerics/Vector.h:118:5: [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(static_cast<void *>(d_data.get()), data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:96:5: [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(VARDATA(res), this->data(), len); data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:408:7: [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(VARDATA(ret), sres.data(), sres.size()); data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:748:3: [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(res->fp, ebv->data(), siglen); data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:1677:7: [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(VARDATA(ret), sres.data(), sres.size()); data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c:51:3: [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 vl_len_[4]; data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c:135:5: [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(data->fp, VARDATA(bfp), siglen); data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c:677:3: [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(VARDATA(bfp), data->fp, siglen); data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c:790:3: [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(result, key, size); data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c:814:3: [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(innerData->fp, leafData->fp, siglen); data/rdkit-202003.4/Code/PgSQL/rdkit/bfp_gist.c:815:3: [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(innerData->fp+siglen, leafData->fp, siglen); data/rdkit-202003.4/Code/PgSQL/rdkit/cache.c:210:3: [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(DatumGetPointer(entry->toastedValue), DatumGetPointer(value), data/rdkit-202003.4/Code/PgSQL/rdkit/cache.c:388:2: [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(entry->detoasted.mol.value, detoastedMol, VARSIZE(detoastedMol)); data/rdkit-202003.4/Code/PgSQL/rdkit/cache.c:419:2: [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(entry->detoasted.bfp.value, detoastedFP, VARSIZE(detoastedFP)); data/rdkit-202003.4/Code/PgSQL/rdkit/cache.c:452:2: [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(entry->detoasted.sfp.value, detoastedFP, VARSIZE(detoastedFP)); data/rdkit-202003.4/Code/PgSQL/rdkit/cache.c:485:2: [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(entry->detoasted.reaction.value, detoastedRxn, data/rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c:117:3: [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( VARDATA(result), VARDATA(key), NUMRANGE * sizeof(IntRange) ); data/rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c:309:7: [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(datum_l, GETENTRY(entryvec, FirstOffsetNumber), len); data/rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c:312:7: [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(datum_r, GETENTRY(entryvec, FirstOffsetNumber), len); data/rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c:327:3: [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(datum_l , GETENTRY(entryvec, seed_1) , sizeof(IntRange) * NUMRANGE + VARHDRSZ); data/rdkit-202003.4/Code/PgSQL/rdkit/low_gist.c:329:3: [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(datum_r , GETENTRY(entryvec, seed_2) , sizeof(IntRange) * NUMRANGE + VARHDRSZ); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:385:5: [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(VARDATA(ts), VARDATA(t0), VARSIZE(t0) - VARHDRSZ); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:387:5: [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(VARDATA(ts) + VARSIZE(t0) - VARHDRSZ + 1, VARDATA(tsmiles), data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:430:5: [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(VARDATA(ts), smiles, len); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:456:5: [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(VARDATA(ts), VARDATA(t0), VARSIZE(t0) - VARHDRSZ); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:458:5: [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(VARDATA(ts) + VARSIZE(t0) - VARHDRSZ + 1, smiles, len); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:489:3: [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(VARDATA(ts), str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit.h:55:3: [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 vl_len_[4]; data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c:175:3: [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(VARDATA(result), VARDATA(key), signlen); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c:380:5: [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(datum_l, GETENTRY(entryvec, FirstOffsetNumber), signlen); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c:383:5: [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(datum_r, GETENTRY(entryvec, FirstOffsetNumber), signlen); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c:402:5: [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(datum_l , GETENTRY(entryvec, seed_1) , signlen + VARHDRSZ); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_gist.c:411:5: [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(datum_r , GETENTRY(entryvec, seed_2) , signlen + VARHDRSZ); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:116:3: [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(VARDATA(res),str,len); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:321:3: [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(VARDATA(res),str,len); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:441:3: [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 buf[1024]; data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:444:12: [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). atoi( pnstrdup(ver, 2) ), data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:445:12: [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). atoi( pnstrdup(ver + 2 , 2) ), data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:446:12: [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). atoi( pnstrdup(ver + 4, 2) )); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:531:3: [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(VARDATA(res),str,len); data/rdkit-202003.4/Code/RDGeneral/RDValue-doublemagic.h:193:5: [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(((char *)&otherBits), &number, sizeof(float)); data/rdkit-202003.4/Code/RDGeneral/RDValue-doublemagic.h:449:5: [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(&f, ((char *)&v.otherBits), sizeof(float)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:49: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 bytes[size]; data/rdkit-202003.4/Code/RDGeneral/testRDValue.cpp:234:3: [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 buf[10]; data/rdkit-202003.4/Code/SimDivPickers/pickersCLI.cpp:39:3: [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 buffer[32768]; data/rdkit-202003.4/Code/SimDivPickers/pickersCLI.cpp:81:16: [2] (misc) fopen: 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 *fp = fopen(fname, "rb"); data/rdkit-202003.4/Code/SimDivPickers/pickersCLI.cpp:123:20: [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). newpicks = atoi(ptr + 1); data/rdkit-202003.4/External/FreeSASA/freesasa2.c:223:3: [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(clone->sasa, result->sasa, sizeof(double) * clone->n_atoms); data/rdkit-202003.4/External/INCHI-API/inchi.cpp:1265:3: [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 options[1] = ""; data/rdkit-202003.4/External/INCHI-API/inchi.cpp:2152:3: [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 inchiKey[29]; data/rdkit-202003.4/External/INCHI-API/inchi.cpp:2153:3: [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 xtra1[65], xtra2[65]; data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:31:20: [2] (misc) fopen: 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 *nullfile = fopen("nul", "w"); data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:34:16: [2] (misc) fopen: 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 *dest = fopen("run.out", "w+"); data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:117:8: [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(static_cast<void *>(results.atomicCharges.get()), data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:122:3: [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(static_cast<void *>(results.reducedChargeMatrix.get()), data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:127:3: [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(static_cast<void *>(results.reducedOverlapPopulationMatrix.get()), data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:131:8: [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(static_cast<void *>(results.orbitalEnergies.get()), data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:143: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(static_cast<void *>(results.hamiltonianMatrix.get()), data/rdkit-202003.4/External/YAeHMOP/EHTTools.cpp:146: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(static_cast<void *>(results.overlapMatrix.get()), data/rdkit-202003.4/External/YAeHMOP/Wrap/rdEHTTools.cpp:60:3: [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(PyArray_DATA(res), static_cast<const void *>(mat), data/rdkit-202003.4/External/YAeHMOP/Wrap/rdEHTTools.cpp:74:3: [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(PyArray_DATA(res), static_cast<const void *>(mat), data/rdkit-202003.4/External/YAeHMOP/Wrap/rdEHTTools.cpp:88:3: [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(PyArray_DATA(res), static_cast<const void *>(mat), data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:1628: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 timeStamp[timeStampSize]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:4237:29: [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. alignas(alignof(T)) char storage[sizeof(T)]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:4696: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. static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0}; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:5259: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). void open(); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:8768: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(&i, &f, sizeof(f)); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:8777: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(&i, &d, sizeof(d)); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:9170: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 m_buffer[L_tmpnam] = { 0 }; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:9247: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 buffer[100]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:9256:23: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). m_file = std::tmpfile(); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:9280: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 buffer[100] = {}; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:9699: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). tracker->open(); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10445:31: [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 **utf8Argv = new char *[ argc ]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10599: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 data[bufferSize]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10648:23: [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). m_ofs.open( filename.c_str() ); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10879: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( m_data, m_start, m_size ); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:11392:23: [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 TrackerBase::open() { data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:11481: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). open(); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:11520: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). tracker->open(); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:11810:21: [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 asChar[sizeof (int)]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:12465: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 buffer[maxDoubleSize]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:12472:9: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "%.3f", duration); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:13040: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() { data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:13069: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). tp.open(); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:13415: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 timeStamp[timeStampSize]; data/rdkit-202003.4/Code/ChemicalFeatures/FreeChemicalFeature.cpp:71:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpChr, tInt * sizeof(char)); data/rdkit-202003.4/Code/ChemicalFeatures/FreeChemicalFeature.cpp:77:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpChr, tInt * sizeof(char)); data/rdkit-202003.4/Code/DataStructs/DatastructsStreamOps.h:46:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool read(std::istream &ss, RDValue &value) const { data/rdkit-202003.4/Code/DataStructs/DiscreteValueVect.cpp:187:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)data, d_numInts * sizeof(std::uint32_t)); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:56:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). istrm.read(tag, tagNameSize); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:63:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). istrm.read(reinterpret_cast<char *>(data), sz); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:183:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(fpData), data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:377:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(&offset), 4); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:378:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(&len), 4); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:390:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(&offset), 4); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:391:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(&len), 8); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:405:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(&offset), 8); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:406:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(&len), 8); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:420:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_impl->istrm->read(reinterpret_cast<char *>(buff.get()), len); data/rdkit-202003.4/Code/DataStructs/FPBReader.cpp:578:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_istrm->read(magic, detail::magicSize); data/rdkit-202003.4/Code/DataStructs/base64.cpp:89:18: [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). size_t inLen = strlen(inText); data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:141:26: [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). t6.initFromText(pkl64, strlen(pkl64), true); data/rdkit-202003.4/Code/DataStructs/testDatastructs.cpp:1428:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). TEST_ASSERT(handler->read(ss, newValue)); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:423:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inStrm.read(charArr, sz); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:437:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inStrm.read(charArr, sz); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:452:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inStrm.read(charArr, sz); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:467:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inStrm.read(charArr, sz); data/rdkit-202003.4/Code/Demos/RDKit/Basement/BinaryIO/iotest.cpp:482:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inStrm.read(charArr, sz); data/rdkit-202003.4/Code/Geometry/UniformGrid3D.cpp:387:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(buff, pklSz * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/FMCS/FMCS.cpp:94:30: [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). if (params && json && 0 != strlen(json)) { data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:73:40: [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). unsigned n = (sp ? sp - smiles + 1 : strlen(smiles)); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:90:16: [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). size_t i = strlen(sp); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:105:42: [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). unsigned n = (sp ? sp - smiles + 1 : strlen(smiles)); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:521:20: [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). strcpy(testsmi + strlen(test) - 3, "smi"); data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1271:21: [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). if ('f' == test[strlen(test) - 1]) { // sdf file data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1273:28: [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). } else if ('i' == test[strlen(test) - 1]) { // smi file data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1778:31: [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). if (0 == strcmp(argv[1] + strlen(argv[1]) - 4, ".smi")) { data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1780: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). } else if (0 == strcmp(argv[1] + strlen(argv[1]) - 4, ".sdf")) { data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1782: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). } else if (0 == strcmp(argv[1] + strlen(argv[1]) - 4, "mcsb")) { data/rdkit-202003.4/Code/GraphMol/FMCS/Test/testFMCS.cpp:1784: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). } else if (0 == strcmp(argv[1] + strlen(argv[1]) - 4, ".dat")) { data/rdkit-202003.4/Code/GraphMol/FMCS/testFMCS_Unit.cpp:76:40: [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). unsigned n = (sp ? sp - smiles + 1 : strlen(smiles)); data/rdkit-202003.4/Code/GraphMol/FileParsers/SDMolSupplier.cpp:192:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_inStream->read(buff, endP - begP); data/rdkit-202003.4/Code/GraphMol/FileParsers/TDTMolSupplier.cpp:347:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dp_inStream->read(buff, endP - begP); data/rdkit-202003.4/Code/GraphMol/FragCatalog/FragCatalogEntry.cpp:240:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpText, tmpInt * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/MMPA/MMPA_UnitTest.cpp:125:40: [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). unsigned n = (sp ? sp - smiles + 1 : strlen(smiles)); data/rdkit-202003.4/Code/GraphMol/MolCatalog/MolCatalogEntry.cpp:110:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpText, tmpInt * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/MolDraw2D/MolDraw2DUtils.cpp:109:23: [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). PRECONDITION(pnm && strlen(pnm), "bad property name"); data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp:430:40: [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). unsigned n = (sp ? sp - smiles + 1 : strlen(smiles)); data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp:543:21: [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). for (size_t i = strlen(smiles) - 1; i > 0 && smiles[i] < ' '; i--) { data/rdkit-202003.4/Code/GraphMol/MolHash/testMolHash.cpp:584:26: [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). if (0 == strcmp(file + strlen(file) - 4, ".smi")) { data/rdkit-202003.4/Code/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogEntry.cpp:53:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpText, tmpInt * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogEntry.cpp:64:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpText, tmpInt * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogEntry.cpp:55:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpText, tmpInt * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/MolStandardize/TransformCatalog/TransformCatalogEntry.cpp:55:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(tmpText, tmpInt * sizeof(char)); data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:34:21: [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). snprintf(nstr + strlen(nstr), sizeof(nstr) - strlen(nstr), ", %s", data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:34:50: [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). snprintf(nstr + strlen(nstr), sizeof(nstr) - strlen(nstr), ", %s", data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:37:23: [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). snprintf(nstr + strlen(nstr), sizeof(nstr) - strlen(nstr), "%+d", data/rdkit-202003.4/Code/GraphMol/StructChecker/Pattern.cpp:37:52: [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). snprintf(nstr + strlen(nstr), sizeof(nstr) - strlen(nstr), "%+d", data/rdkit-202003.4/Code/GraphMol/StructChecker/Stereo.cpp:828:11: [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) // identical substituents data/rdkit-202003.4/Code/GraphMol/StructChecker/Stereo.cpp:841:11: [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) // identical substituents data/rdkit-202003.4/Code/GraphMol/StructChecker/StructCheckerOptions.cpp:178:16: [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). str += strlen(bond_to_string[i]); data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:585:9: [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). if (strlen(opts)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:606:9: [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). if (strlen(opts)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:644:17: [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). if (params && strlen(params)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:671:17: [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). if (params && strlen(params)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:691:17: [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). if (params && strlen(params)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:2021:14: [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). if (0 == strlen(s)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:2032:22: [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). if (params && 0 != strlen(params)) { data/rdkit-202003.4/Code/PgSQL/rdkit/adapter.cpp:2087:22: [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). if (params && 0 != strlen(params)) { data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:229:25: [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). res = pnstrdup(str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:250:25: [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). res = pnstrdup(str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:284:22: [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). Assert(str != 0 && strlen(str) != 0); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:301:22: [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). Assert(str != 0 && strlen(str) != 0); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:302:29: [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). char *res = pnstrdup(str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:342:29: [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). char *res = pnstrdup(str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:360:29: [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). char *res = pnstrdup(str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:486:30: [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). int32 ts_size = VARHDRSZ + strlen(str); data/rdkit-202003.4/Code/PgSQL/rdkit/mol_op.c:489:28: [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). memcpy(VARDATA(ts), str, strlen(str)); data/rdkit-202003.4/Code/PgSQL/rdkit/rdkit_io.c:442:10: [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). Assert(strlen(ver) == 6); data/rdkit-202003.4/Code/PgSQL/rdkit/rxn_op.c:185:29: [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). char *res = pnstrdup(str, strlen(str)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:147:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:153:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:158:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:160:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:165:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:167:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:169:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tmp, sizeof(tmp)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:248:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&tloc, sizeof(T)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:262:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read((char *)&l, sizeof(l)); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:264:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ss.read(buff, sizeof(char) * l); data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:326:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual bool read(std::istream &ss, RDValue &value) const = 0; data/rdkit-202003.4/Code/RDGeneral/StreamOps.h:555:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). handler->read(ss, pair.val); data/rdkit-202003.4/Code/RDGeneral/testDict.cpp:665:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool read(std::istream &ss, RDValue &value) const override { data/rdkit-202003.4/Code/RDGeneral/testDict.cpp:706:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). TEST_ASSERT(handler->read(ss, newValue)); data/rdkit-202003.4/External/INCHI-API/inchi.cpp:1695:19: [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). for (i = 0; i < strlen(in); i++) { data/rdkit-202003.4/External/INCHI-API/inchi.cpp:2059:31: [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). char* _options = new char[strlen(options) + 1]; data/rdkit-202003.4/External/INCHI-API/inchi.cpp:2122:27: [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). _options = new char[strlen(options) + 1]; data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10474:36: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). static_cast<void>(std::getchar()); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10479:36: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). static_cast<void>(std::getchar()); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10770: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. return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin()); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10776: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. return s.size() >= suffix.size() && std::equal(suffix.rbegin(), suffix.rend(), s.rbegin()); data/rdkit-202003.4/External/catch/catch/single_include/catch.hpp:10847:67: [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). : StringRef( rawChars, static_cast<StringRef::size_type>(std::strlen(rawChars) ) ) ANALYSIS SUMMARY: Hits = 952 Lines analyzed = 351592 in approximately 9.72 seconds (36161 lines/second) Physical Source Lines of Code (SLOC) = 265978 Hits@level = [0] 87 [1] 97 [2] 316 [3] 489 [4] 50 [5] 0 Hits@level+ = [0+] 1039 [1+] 952 [2+] 855 [3+] 539 [4+] 50 [5+] 0 Hits/KSLOC@level+ = [0+] 3.90634 [1+] 3.57924 [2+] 3.21455 [3+] 2.02648 [4+] 0.187985 [5+] 0 Dot directories skipped = 4 (--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.