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/fcl-0.6.1/test/test_fcl_octomap_collision.cpp Examining data/fcl-0.6.1/test/test_fcl_distance.cpp Examining data/fcl-0.6.1/test/test_fcl_sphere_cylinder.cpp Examining data/fcl-0.6.1/test/test_fcl_sphere_capsule.cpp Examining data/fcl-0.6.1/test/libsvm/svm.cpp Examining data/fcl-0.6.1/test/libsvm/svm.h Examining data/fcl-0.6.1/test/test_fcl_utility.cpp Examining data/fcl-0.6.1/test/test_fcl_frontlist.cpp Examining data/fcl-0.6.1/test/test_fcl_capsule_box_2.cpp Examining data/fcl-0.6.1/test/broadphase/test_broadphase_dynamic_AABB_tree.cpp Examining data/fcl-0.6.1/test/test_fcl_utility.h Examining data/fcl-0.6.1/test/test_fcl_broadphase_collision_2.cpp Examining data/fcl-0.6.1/test/test_fcl_box_box.cpp Examining data/fcl-0.6.1/test/test_fcl_math.cpp Examining data/fcl-0.6.1/test/test_fcl_shape_mesh_consistency.cpp Examining data/fcl-0.6.1/test/test_fcl_cylinder_half_space.cpp Examining data/fcl-0.6.1/test/test_fcl_generate_bvh_model_deferred_finalize.cpp Examining data/fcl-0.6.1/test/libsvm_classifier.h Examining data/fcl-0.6.1/test/geometry/shape/test_convex.cpp Examining data/fcl-0.6.1/test/geometry/shape/test_capsule.cpp Examining data/fcl-0.6.1/test/test_fcl_broadphase_distance.cpp Examining data/fcl-0.6.1/test/test_fcl_octomap_cost.cpp Examining data/fcl-0.6.1/test/test_fcl_general.cpp Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-death-test.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-test-part.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest_pred_impl.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-typed-test.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest_prod.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-param-util.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-death-test-internal.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-type-util.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-internal.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-linked_ptr.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-filepath.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-tuple.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-param-util-generated.h Examining data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-string.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-printers.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-message.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-spi.h Examining data/fcl-0.6.1/test/gtest/include/gtest/gtest-param-test.h Examining data/fcl-0.6.1/test/gtest/src/gtest-port.cc Examining data/fcl-0.6.1/test/gtest/src/gtest_main.cc Examining data/fcl-0.6.1/test/gtest/src/gtest-all.cc Examining data/fcl-0.6.1/test/gtest/src/gtest-internal-inl.h Examining data/fcl-0.6.1/test/gtest/src/gtest-filepath.cc Examining data/fcl-0.6.1/test/gtest/src/gtest-death-test.cc Examining data/fcl-0.6.1/test/gtest/src/gtest.cc Examining data/fcl-0.6.1/test/gtest/src/gtest-printers.cc Examining data/fcl-0.6.1/test/gtest/src/gtest-test-part.cc Examining data/fcl-0.6.1/test/gtest/src/gtest-typed-test.cc Examining data/fcl-0.6.1/test/test_fcl_geometric_shapes.cpp Examining data/fcl-0.6.1/test/narrowphase/detail/primitive_shape_algorithm/test_sphere_box.cpp Examining data/fcl-0.6.1/test/narrowphase/detail/primitive_shape_algorithm/test_sphere_cylinder.cpp Examining data/fcl-0.6.1/test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_signed_distance.cpp Examining data/fcl-0.6.1/test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_extractClosestPoints.cpp Examining data/fcl-0.6.1/test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp Examining data/fcl-0.6.1/test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_epa.cpp Examining data/fcl-0.6.1/test/test_fcl_broadphase_collision_1.cpp Examining data/fcl-0.6.1/test/test_fcl_profiler.cpp Examining data/fcl-0.6.1/test/expect_throws_message.h Examining data/fcl-0.6.1/test/test_fcl_octomap_distance.cpp Examining data/fcl-0.6.1/test/test_fcl_collision.cpp Examining data/fcl-0.6.1/test/test_fcl_signed_distance.cpp Examining data/fcl-0.6.1/test/eigen_matrix_compare.h Examining data/fcl-0.6.1/test/test_fcl_sphere_sphere.cpp Examining data/fcl-0.6.1/test/test_fcl_simple.cpp Examining data/fcl-0.6.1/test/test_fcl_auto_diff.cpp Examining data/fcl-0.6.1/test/test_fcl_constant_eps.cpp Examining data/fcl-0.6.1/test/test_fcl_capsule_box_1.cpp Examining data/fcl-0.6.1/test/test_fcl_capsule_capsule.cpp Examining data/fcl-0.6.1/test/test_fcl_sphere_box.cpp Examining data/fcl-0.6.1/test/test_fcl_bvh_models.cpp Examining data/fcl-0.6.1/include/fcl/math/geometry-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/triangle_motion_bound_visitor-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/motion_base-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/spline_motion-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/translation_motion-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/interp_motion-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/spline_motion.h Examining data/fcl-0.6.1/include/fcl/math/motion/interp_motion.h Examining data/fcl-0.6.1/include/fcl/math/motion/tbv_motion_bound_visitor.h Examining data/fcl-0.6.1/include/fcl/math/motion/triangle_motion_bound_visitor.h Examining data/fcl-0.6.1/include/fcl/math/motion/translation_motion.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/taylor_vector.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/taylor_matrix.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/taylor_matrix-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/time_interval-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/interval_vector.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/interval_vector-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/taylor_model-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/interval-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/interval_matrix-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/taylor_vector-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/interval.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/interval_matrix.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/time_interval.h Examining data/fcl-0.6.1/include/fcl/math/motion/taylor_model/taylor_model.h Examining data/fcl-0.6.1/include/fcl/math/motion/screw_motion-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/tbv_motion_bound_visitor-inl.h Examining data/fcl-0.6.1/include/fcl/math/motion/bv_motion_bound_visitor.h Examining data/fcl-0.6.1/include/fcl/math/motion/screw_motion.h Examining data/fcl-0.6.1/include/fcl/math/motion/motion_base.h Examining data/fcl-0.6.1/include/fcl/math/variance3-inl.h Examining data/fcl-0.6.1/include/fcl/math/rng.h Examining data/fcl-0.6.1/include/fcl/math/variance3.h Examining data/fcl-0.6.1/include/fcl/math/geometry.h Examining data/fcl-0.6.1/include/fcl/math/rng-inl.h Examining data/fcl-0.6.1/include/fcl/math/constants.h Examining data/fcl-0.6.1/include/fcl/math/detail/seed.h Examining data/fcl-0.6.1/include/fcl/math/detail/project.h Examining data/fcl-0.6.1/include/fcl/math/detail/polysolver-inl.h Examining data/fcl-0.6.1/include/fcl/math/detail/project-inl.h Examining data/fcl-0.6.1/include/fcl/math/detail/polysolver.h Examining data/fcl-0.6.1/include/fcl/math/triangle.h Examining data/fcl-0.6.1/include/fcl/math/bv/utility-inl.h Examining data/fcl-0.6.1/include/fcl/math/bv/RSS.h Examining data/fcl-0.6.1/include/fcl/math/bv/OBBRSS.h Examining data/fcl-0.6.1/include/fcl/math/bv/AABB-inl.h Examining data/fcl-0.6.1/include/fcl/math/bv/kDOP-inl.h Examining data/fcl-0.6.1/include/fcl/math/bv/kIOS-inl.h Examining data/fcl-0.6.1/include/fcl/math/bv/utility.h Examining data/fcl-0.6.1/include/fcl/math/bv/AABB.h Examining data/fcl-0.6.1/include/fcl/math/bv/OBB.h Examining data/fcl-0.6.1/include/fcl/math/bv/OBBRSS-inl.h Examining data/fcl-0.6.1/include/fcl/math/bv/kIOS.h Examining data/fcl-0.6.1/include/fcl/math/bv/kDOP.h Examining data/fcl-0.6.1/include/fcl/math/bv/OBB-inl.h Examining data/fcl-0.6.1/include/fcl/math/bv/RSS-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_euler_ball.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_euler_ball-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_quat-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_r-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_quat_ball.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_euler-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se2.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_quat_ball-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se2_disk-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_euler.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_base.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se2-inl.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se3_quat.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_se2_disk.h Examining data/fcl-0.6.1/include/fcl/math/sampler/sampler_r.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_bruteforce-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_spatialhash.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_interval_tree.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_bruteforce.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_SSaP.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_spatialhash-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_dynamic_AABB_tree.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_dynamic_AABB_tree-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/hierarchy_tree.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/sparse_hash_table.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/node_base-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/simple_interval-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/spatial_hash-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/morton.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/interval_tree_node-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/node_base.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/simple_hash_table-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/node_base_array.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/spatial_hash.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/hierarchy_tree-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/hierarchy_tree_array.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/interval_tree.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/morton-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/simple_interval.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/interval_tree_node.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/simple_hash_table.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/sparse_hash_table-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/node_base_array-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/interval_tree-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/detail/hierarchy_tree_array-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_interval_tree-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_SaP.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_dynamic_AABB_tree_array-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/default_broadphase_callbacks.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_collision_manager-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_SSaP-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_dynamic_AABB_tree_array.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_SaP-inl.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_continuous_collision_manager.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_collision_manager.h Examining data/fcl-0.6.1/include/fcl/broadphase/broadphase_continuous_collision_manager-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/collision_geometry.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BVH_utility-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BVH_model.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BV_fitter_base.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BV_splitter.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BV_fitter.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BV_fitter-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BV_splitter-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BVH_front.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/detail/BV_splitter_base.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BV_node_base.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BV_node.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BVH_internal.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BVH_utility.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BV_node-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/bvh/BVH_model-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/octree/octree.h Examining data/fcl-0.6.1/include/fcl/geometry/octree/octree-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/cylinder-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/utility-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/cone.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/box-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/sphere-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/box.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/plane-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/triangle_p-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/cylinder.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/halfspace.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/utility.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/convex.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/shape_base.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/shape_base-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/cone-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/convex-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/triangle_p.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/plane.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/capsule-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/halfspace-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/sphere.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/ellipsoid.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/ellipsoid-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/shape/capsule.h Examining data/fcl-0.6.1/include/fcl/geometry/collision_geometry-inl.h Examining data/fcl-0.6.1/include/fcl/geometry/geometric_shape_to_BVH_model.h Examining data/fcl-0.6.1/include/fcl/geometry/geometric_shape_to_BVH_model-inl.h Examining data/fcl-0.6.1/include/fcl/common/exception.h Examining data/fcl-0.6.1/include/fcl/common/unused.h Examining data/fcl-0.6.1/include/fcl/common/profiler.h Examining data/fcl-0.6.1/include/fcl/common/detail/profiler.h Examining data/fcl-0.6.1/include/fcl/common/types.h Examining data/fcl-0.6.1/include/fcl/common/warning.h Examining data/fcl-0.6.1/include/fcl/common/time.h Examining data/fcl-0.6.1/include/fcl/narrowphase/cost_source.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision_object.h Examining data/fcl-0.6.1/include/fcl/narrowphase/contact_point.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision_object.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision_request-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/distance_request.h Examining data/fcl-0.6.1/include/fcl/narrowphase/distance_request-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/contact_point-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision_result.h Examining data/fcl-0.6.1/include/fcl/narrowphase/distance_result.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision_object-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision_result-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision_request-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/distance_func_matrix-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/collision_func_matrix.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/gjk_solver_indep-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/gjk_solver_libccd.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/gjk_solver_libccd-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/collision_func_matrix-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_sphere-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_triangle-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/capsule_capsule-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/plane-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/halfspace.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_box.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/triangle_distance.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_box-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_capsule-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_cylinder.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_sphere.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/box_box.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_capsule.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_triangle.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/box_box-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/triangle_distance-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/sphere_cylinder-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/plane.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/halfspace-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/capsule_capsule.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/distance_func_matrix.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/failed_at_this_configuration.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/list.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/gjk.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/support.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/simplex.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/epa-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/gjk_libccd.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/minkowski_diff.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/gjk_libccd-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/polytope.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/gjk-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/alloc.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/epa.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/convexity_based_algorithm/minkowski_diff-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/traversal_node_base-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/traversal_recurse.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/traversal_recurse-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_shape_conservative_advancement_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/bvh_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/bvh_shape_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_conservative_advancement_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/bvh_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_bvh_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_mesh_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_mesh_conservative_advancement_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_mesh_conservative_advancement_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_shape_conservative_advancement_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_conservative_advancement_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_conservative_advancement_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/bvh_shape_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_shape_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/conservative_advancement_stack_data-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_bvh_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_conservative_advancement_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/distance_traversal_node_base-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/shape_mesh_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/conservative_advancement_stack_data.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/distance_traversal_node_base.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/distance/mesh_shape_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/traversal_node_base.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/shape_mesh_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/shape_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/shape_bvh_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/intersect.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/bvh_shape_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/intersect-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/mesh_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/collision_traversal_node_base.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/shape_bvh_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/mesh_continuous_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/bvh_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/shape_mesh_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/mesh_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/collision_traversal_node_base-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/shape_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/bvh_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/mesh_shape_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/mesh_shape_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/bvh_shape_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision/mesh_continuous_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/octree_solver-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/octree_mesh_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/shape_octree_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/shape_octree_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/octree_shape_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/mesh_octree_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/octree_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/octree_mesh_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/octree_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/octree_shape_distance_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/distance/mesh_octree_distance_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/octree_mesh_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/octree_shape_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/octree_mesh_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/mesh_octree_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/octree_shape_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/shape_octree_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/mesh_octree_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/shape_octree_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/octree_collision_traversal_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/collision/octree_collision_traversal_node-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/octree/octree_solver.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/traversal/collision_node.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/conservative_advancement_func_matrix-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/conservative_advancement_func_matrix.h Examining data/fcl-0.6.1/include/fcl/narrowphase/detail/gjk_solver_indep.h Examining data/fcl-0.6.1/include/fcl/narrowphase/distance.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision.h Examining data/fcl-0.6.1/include/fcl/narrowphase/distance_result-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/contact.h Examining data/fcl-0.6.1/include/fcl/narrowphase/distance-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/gjk_solver_type.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision_result.h Examining data/fcl-0.6.1/include/fcl/narrowphase/collision_request.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision_request.h Examining data/fcl-0.6.1/include/fcl/narrowphase/contact-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision_result-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/continuous_collision_object-inl.h Examining data/fcl-0.6.1/include/fcl/narrowphase/cost_source-inl.h Examining data/fcl-0.6.1/src/math/constants.cpp Examining data/fcl-0.6.1/src/math/motion/motion_base.cpp Examining data/fcl-0.6.1/src/math/motion/screw_motion.cpp Examining data/fcl-0.6.1/src/math/motion/interp_motion.cpp Examining data/fcl-0.6.1/src/math/motion/translation_motion.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/interval.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/taylor_matrix.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/time_interval.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/interval_matrix.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/taylor_model.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/taylor_vector.cpp Examining data/fcl-0.6.1/src/math/motion/taylor_model/interval_vector.cpp Examining data/fcl-0.6.1/src/math/motion/spline_motion.cpp Examining data/fcl-0.6.1/src/math/motion/triangle_motion_bound_visitor.cpp Examining data/fcl-0.6.1/src/math/triangle.cpp Examining data/fcl-0.6.1/src/math/rng.cpp Examining data/fcl-0.6.1/src/math/variance3.cpp Examining data/fcl-0.6.1/src/math/detail/polysolver.cpp Examining data/fcl-0.6.1/src/math/detail/project.cpp Examining data/fcl-0.6.1/src/math/detail/seed.cpp Examining data/fcl-0.6.1/src/math/bv/RSS.cpp Examining data/fcl-0.6.1/src/math/bv/utility.cpp Examining data/fcl-0.6.1/src/math/bv/kIOS.cpp Examining data/fcl-0.6.1/src/math/bv/kDOP.cpp Examining data/fcl-0.6.1/src/math/bv/AABB.cpp Examining data/fcl-0.6.1/src/math/bv/OBB.cpp Examining data/fcl-0.6.1/src/math/bv/OBBRSS.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_se3_quat_ball.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_se2.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_se3_euler.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_se2_disk.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_se3_quat.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_se3_euler_ball.cpp Examining data/fcl-0.6.1/src/math/sampler/sampler_base.cpp Examining data/fcl-0.6.1/src/math/geometry.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_dynamic_AABB_tree.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_dynamic_AABB_tree_array.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_continuous_collision_manager.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_collision_manager.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_SaP.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_spatialhash.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_bruteforce.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_interval_tree.cpp Examining data/fcl-0.6.1/src/broadphase/broadphase_SSaP.cpp Examining data/fcl-0.6.1/src/broadphase/detail/spatial_hash.cpp Examining data/fcl-0.6.1/src/broadphase/detail/interval_tree_node.cpp Examining data/fcl-0.6.1/src/broadphase/detail/simple_interval.cpp Examining data/fcl-0.6.1/src/broadphase/detail/interval_tree.cpp Examining data/fcl-0.6.1/src/broadphase/detail/morton.cpp Examining data/fcl-0.6.1/src/geometry/bvh/BVH_utility.cpp Examining data/fcl-0.6.1/src/geometry/bvh/detail/BVH_front.cpp Examining data/fcl-0.6.1/src/geometry/bvh/BV_node_base.cpp Examining data/fcl-0.6.1/src/geometry/collision_geometry.cpp Examining data/fcl-0.6.1/src/geometry/octree/octree.cpp Examining data/fcl-0.6.1/src/geometry/shape/halfspace.cpp Examining data/fcl-0.6.1/src/geometry/shape/utility.cpp Examining data/fcl-0.6.1/src/geometry/shape/shape_base.cpp Examining data/fcl-0.6.1/src/geometry/shape/cone.cpp Examining data/fcl-0.6.1/src/geometry/shape/capsule.cpp Examining data/fcl-0.6.1/src/geometry/shape/box.cpp Examining data/fcl-0.6.1/src/geometry/shape/ellipsoid.cpp Examining data/fcl-0.6.1/src/geometry/shape/plane.cpp Examining data/fcl-0.6.1/src/geometry/shape/triangle_p.cpp Examining data/fcl-0.6.1/src/geometry/shape/cylinder.cpp Examining data/fcl-0.6.1/src/geometry/shape/convex.cpp Examining data/fcl-0.6.1/src/geometry/shape/sphere.cpp Examining data/fcl-0.6.1/src/common/exception.cpp Examining data/fcl-0.6.1/src/common/detail/profiler.cpp Examining data/fcl-0.6.1/src/common/time.cpp Examining data/fcl-0.6.1/src/narrowphase/contact_point.cpp Examining data/fcl-0.6.1/src/narrowphase/distance_result.cpp Examining data/fcl-0.6.1/src/narrowphase/distance.cpp Examining data/fcl-0.6.1/src/narrowphase/collision.cpp Examining data/fcl-0.6.1/src/narrowphase/continuous_collision_object.cpp Examining data/fcl-0.6.1/src/narrowphase/continuous_collision_result.cpp Examining data/fcl-0.6.1/src/narrowphase/cost_source.cpp Examining data/fcl-0.6.1/src/narrowphase/collision_result.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/failed_at_this_configuration.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/gjk_solver_libccd.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/capsule_capsule.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/box_box.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/halfspace.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/triangle_distance.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/sphere_cylinder.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/intersect.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/sphere_capsule.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/plane.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/sphere_triangle.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/sphere_sphere.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/primitive_shape_algorithm/sphere_box.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/convexity_based_algorithm/gjk.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/convexity_based_algorithm/epa.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/convexity_based_algorithm/minkowski_diff.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/convexity_based_algorithm/gjk_libccd.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/gjk_solver_indep.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/traversal_node_base.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/collision_node.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/distance/distance_traversal_node_base.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/distance/mesh_distance_traversal_node.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/distance/mesh_conservative_advancement_traversal_node.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/distance/conservative_advancement_stack_data.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/traversal_recurse.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/collision/mesh_continuous_collision_traversal_node.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/collision/collision_traversal_node_base.cpp Examining data/fcl-0.6.1/src/narrowphase/detail/traversal/collision/mesh_collision_traversal_node.cpp Examining data/fcl-0.6.1/src/narrowphase/collision_object.cpp Examining data/fcl-0.6.1/src/narrowphase/continuous_collision_request.cpp Examining data/fcl-0.6.1/src/narrowphase/collision_request.cpp Examining data/fcl-0.6.1/src/narrowphase/continuous_collision.cpp Examining data/fcl-0.6.1/src/narrowphase/distance_request.cpp Examining data/fcl-0.6.1/src/narrowphase/contact.cpp FINAL RESULTS: data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-death-test-internal.h:165:5: [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/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1764:20: [4] (buffer) StrNCpy: 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). inline const char* StrNCpy(char* dest, const char* src, size_t n) { data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1836:26: [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 GTEST_SNPRINTF_ _snprintf data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1838:26: [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 GTEST_SNPRINTF_ snprintf data/fcl-0.6.1/test/gtest/src/gtest.cc:142:10: [4] (format) vsnprintf: 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 vsnprintf _vsnprintf data/fcl-0.6.1/test/gtest/src/gtest.cc:2638:5: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/fcl-0.6.1/test/gtest/src/gtest.cc:2657:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/fcl-0.6.1/test/gtest/src/gtest.cc:2664:3: [4] (format) vprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vprintf(fmt, args); data/fcl-0.6.1/test/libsvm/svm.cpp:87:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(buf,fmt,ap); data/fcl-0.6.1/test/gtest/include/gtest/gtest.h:893:39: [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. void ShuffleTests(internal::Random* random); data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1802: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. const char* const env = getenv(name); data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1805:10: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. return getenv(name); data/fcl-0.6.1/test/gtest/src/gtest-internal-inl.h:311:37: [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. void ShuffleRange(internal::Random* random, int begin, int end, data/fcl-0.6.1/test/gtest/src/gtest-internal-inl.h:332:39: [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. inline void Shuffle(internal::Random* random, std::vector<E>* v) { data/fcl-0.6.1/test/gtest/src/gtest-internal-inl.h:333:16: [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. ShuffleRange(random, 0, static_cast<int>(v->size()), v); data/fcl-0.6.1/test/gtest/src/gtest-internal-inl.h:801: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. internal::Random* random() { return &random_; } data/fcl-0.6.1/test/gtest/src/gtest.cc:2466:47: [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. void TestCase::ShuffleTests(internal::Random* random) { data/fcl-0.6.1/test/gtest/src/gtest.cc:2467:11: [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. Shuffle(random, &test_indices_); data/fcl-0.6.1/test/gtest/src/gtest.cc:4296:7: [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()->Reseed(random_seed_); data/fcl-0.6.1/test/gtest/src/gtest.cc:4606:16: [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. ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_); data/fcl-0.6.1/test/gtest/src/gtest.cc:4609:16: [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. ShuffleRange(random(), last_death_test_case_ + 1, data/fcl-0.6.1/test/gtest/src/gtest.cc:4614:34: [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. test_cases_[i]->ShuffleTests(random()); data/fcl-0.6.1/include/fcl/narrowphase/detail/primitive_shape_algorithm/box_box-inl.h:167:16: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if(q != ret) memcpy(ret, q, nr*2*sizeof(S)); data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1776: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). return fopen(path, mode); data/fcl-0.6.1/test/gtest/src/gtest-death-test.cc:314: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/fcl-0.6.1/test/gtest/src/gtest-death-test.cc:730: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 executable_path[_MAX_PATH + 1]; // NOLINT data/fcl-0.6.1/test/gtest/src/gtest-death-test.cc:1009: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). const int cwd_fd = open(".", O_RDONLY); data/fcl-0.6.1/test/gtest/src/gtest-filepath.cc:107: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/fcl-0.6.1/test/gtest/src/gtest-filepath.cc:110: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 cwd[GTEST_PATH_MAX_ + 1] = { '\0' }; data/fcl-0.6.1/test/gtest/src/gtest-port.cc:111:18: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). const int fd = open("/proc/self/as", O_RDONLY); data/fcl-0.6.1/test/gtest/src/gtest-port.cc:441: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(buffer, regex, len); data/fcl-0.6.1/test/gtest/src/gtest-port.cc:518: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 temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/fcl-0.6.1/test/gtest/src/gtest-port.cc:519: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 temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT data/fcl-0.6.1/test/gtest/src/gtest-port.cc:556:29: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). const int captured_fd = mkstemp(name_template); data/fcl-0.6.1/test/gtest/src/gtest-printers.cc:61: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 text[5] = ""; data/fcl-0.6.1/test/gtest/src/gtest.cc:847:7: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/fcl-0.6.1/test/gtest/src/gtest.cc:850:3: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). MultiByteToWideChar(CP_ACP, 0, ansi, length, data/fcl-0.6.1/test/gtest/src/gtest.cc:1360: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 error_text[kBufSize] = { '\0' }; data/fcl-0.6.1/test/gtest/src/gtest.cc:1444: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[5]; // Big enough for the largest valid code point. data/fcl-0.6.1/test/libsvm/svm.cpp:58: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((void *)dst,(void *)src,sizeof(T)*n); data/fcl-0.6.1/test/libsvm/svm.cpp:84: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[BUFSIZ]; data/fcl-0.6.1/test/libsvm/svm.cpp:2810: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(model_file_name,"w"); data/fcl-0.6.1/test/libsvm/svm.cpp:2925: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(model_file_name,"rb"); data/fcl-0.6.1/test/libsvm/svm.cpp:2941: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 cmd[81]; data/fcl-0.6.1/test/test_fcl_utility.h:197: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* file = fopen(filename, "rb"); data/fcl-0.6.1/test/test_fcl_utility.h:206: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 line_buffer[2000]; data/fcl-0.6.1/test/test_fcl_utility.h:254:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tri[0] = atoi(data[0]) - 1; data/fcl-0.6.1/test/test_fcl_utility.h:255:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tri[1] = atoi(data[1]) - 1; data/fcl-0.6.1/test/test_fcl_utility.h:256:22: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tri[2] = atoi(data[2]) - 1; data/fcl-0.6.1/test/test_fcl_utility.h:269:24: [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). tri[i] = atoi(v1) - 1; data/fcl-0.6.1/include/fcl/broadphase/broadphase_SaP-inl.h:324:27: [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(updated_aabb->cached.equal(updated_aabb->obj->getAABB())) data/fcl-0.6.1/include/fcl/broadphase/broadphase_SaP-inl.h:743:19: [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(aabb.equal(obj->getAABB())) data/fcl-0.6.1/include/fcl/broadphase/broadphase_dynamic_AABB_tree-inl.h:850:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!node->bv.equal(updated_obj->getAABB())) data/fcl-0.6.1/include/fcl/broadphase/broadphase_dynamic_AABB_tree_array-inl.h:854:35: [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(!dtree.getNodes()[node].bv.equal(updated_obj->getAABB())) data/fcl-0.6.1/include/fcl/broadphase/broadphase_interval_tree-inl.h:500:19: [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(aabb.equal(obj->getAABB())) data/fcl-0.6.1/include/fcl/broadphase/broadphase_spatialhash-inl.h:442:19: [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(aabb.equal(obj->getAABB())) data/fcl-0.6.1/include/fcl/broadphase/detail/hierarchy_tree-inl.h:915:18: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!new_bv.equal(prev->bv)) data/fcl-0.6.1/include/fcl/broadphase/detail/hierarchy_tree_array-inl.h:910:20: [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(!new_bv.equal(nodes[prev].bv)) data/fcl-0.6.1/include/fcl/math/bv/AABB-inl.h:319:15: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool AABB<S>::equal(const AABB<S>& other) const data/fcl-0.6.1/include/fcl/math/bv/AABB.h:129:8: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. bool equal(const AABB<S>& other) const; data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1765:10: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). return strncpy(dest, src, n); data/fcl-0.6.1/test/gtest/include/gtest/internal/gtest-port.h:1787:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return static_cast<int>(read(fd, buf, count)); data/fcl-0.6.1/test/gtest/src/gtest-port.cc:175:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t full_regex_len = strlen(regex) + 10; data/fcl-0.6.1/test/gtest/src/gtest-port.cc:429: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). const size_t len = strlen(regex); data/fcl-0.6.1/test/gtest/src/gtest-printers.cc:315: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). PrintCharsAsStringTo(s, strlen(s), os); data/fcl-0.6.1/test/gtest/src/gtest-printers.cc:332:29: [1] (buffer) wcslen: 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). PrintCharsAsStringTo(s, wcslen(s), os); data/fcl-0.6.1/test/gtest/src/gtest.cc:845: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). const int length = strlen(ansi); data/fcl-0.6.1/test/gtest/src/gtest.cc:1505:34: [1] (buffer) wcslen: 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). num_chars = static_cast<int>(wcslen(str)); data/fcl-0.6.1/test/gtest/src/gtest.cc:3259:32: [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). segment = next_segment + strlen("]]>"); data/fcl-0.6.1/test/gtest/src/gtest.cc:3424: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). result.reserve(strlen(str) + 1); data/fcl-0.6.1/test/gtest/src/gtest.cc:4667: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). const size_t prefix_len = strlen(prefix); data/fcl-0.6.1/test/libsvm/svm.cpp:2916: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). len = (int) strlen(line); data/fcl-0.6.1/test/libsvm/svm.cpp:2944:5: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. fscanf(fp,"%80s",cmd); data/fcl-0.6.1/test/libsvm/svm.cpp:2948:7: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. fscanf(fp,"%80s",cmd); data/fcl-0.6.1/test/libsvm/svm.cpp:2973:7: [1] (buffer) fscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. fscanf(fp,"%80s",cmd); data/fcl-0.6.1/test/libsvm/svm.cpp:3045:17: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = getc(fp); data/fcl-0.6.1/test/test_fcl_utility.h:246: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(strlen(data[n])) ANALYSIS SUMMARY: Hits = 77 Lines analyzed = 139392 in approximately 5.58 seconds (24989 lines/second) Physical Source Lines of Code (SLOC) = 86698 Hits@level = [0] 98 [1] 27 [2] 28 [3] 13 [4] 9 [5] 0 Hits@level+ = [0+] 175 [1+] 77 [2+] 50 [3+] 22 [4+] 9 [5+] 0 Hits/KSLOC@level+ = [0+] 2.0185 [1+] 0.88814 [2+] 0.576715 [3+] 0.253754 [4+] 0.103809 [5+] 0 Dot directories skipped = 2 (--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.