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/sfcgal-1.3.9/CGAL_patches/CGAL/Triangle_accessor_with_ppmap_3.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/corefinement_operations.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/Combinatorial_map_for_corefinement.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/Combinatorial_map_output_builder.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/Polyhedra_output_builder.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/Polyhedron_constness_types.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/connected_components.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/intersection_coplanar_triangles_3.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/intersection_triangle_segment_3.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/intersection_triangle_segment_3_coplanar.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/predicates.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/utils.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/intersection_of_Polyhedra_3.h Examining data/sfcgal-1.3.9/CGAL_patches/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h Examining data/sfcgal-1.3.9/doc/mainpage.h Examining data/sfcgal-1.3.9/example/CGAL-basic_manip/main.cpp Examining data/sfcgal-1.3.9/example/CGAL-cartesian_kernel/main.cpp Examining data/sfcgal-1.3.9/example/CGAL-point_generator/main.cpp Examining data/sfcgal-1.3.9/example/CGAL-polygon_triangulation2/main.cpp Examining data/sfcgal-1.3.9/example/CGAL-triangulation2/main.cpp Examining data/sfcgal-1.3.9/example/SFCGAL-building/main.cpp Examining data/sfcgal-1.3.9/example/SFCGAL-export-osg/main.cpp Examining data/sfcgal-1.3.9/example/SFCGAL-offset/main.cpp Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/Intersections_2/Triangle_2_Triangle_2_intersection_impl.h Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/Point_inside_polyhedron_3.h Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/Triangle_3_Ray_3_do_intersect.h Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/internal/Operations_on_polyhedra/AABB_triangle_accessor_3_primitive.h Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/internal/Operations_on_polyhedra/Ray_3_Triangle_3_traversal_traits.h Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/intersection_of_Polyhedra_3_refinement_visitor.h Examining data/sfcgal-1.3.9/patches/CGAL-4.2/CGAL/use.h Examining data/sfcgal-1.3.9/patches/CGAL-4.3/CGAL/Triangle_3_Triangle_3_intersection.h Examining data/sfcgal-1.3.9/patches/boost-1.60.0/boost/graph/adjacency_matrix.hpp Examining data/sfcgal-1.3.9/src/Coordinate.cpp Examining data/sfcgal-1.3.9/src/Coordinate.h Examining data/sfcgal-1.3.9/src/Envelope.cpp Examining data/sfcgal-1.3.9/src/Envelope.h Examining data/sfcgal-1.3.9/src/Exception.cpp Examining data/sfcgal-1.3.9/src/Exception.h Examining data/sfcgal-1.3.9/src/Geometry.cpp Examining data/sfcgal-1.3.9/src/Geometry.h Examining data/sfcgal-1.3.9/src/GeometryCollection.cpp Examining data/sfcgal-1.3.9/src/GeometryCollection.h Examining data/sfcgal-1.3.9/src/GeometryVisitor.cpp Examining data/sfcgal-1.3.9/src/GeometryVisitor.h Examining data/sfcgal-1.3.9/src/Kernel.h Examining data/sfcgal-1.3.9/src/LineString.cpp Examining data/sfcgal-1.3.9/src/LineString.h Examining data/sfcgal-1.3.9/src/MultiLineString.cpp Examining data/sfcgal-1.3.9/src/MultiLineString.h Examining data/sfcgal-1.3.9/src/MultiPoint.cpp Examining data/sfcgal-1.3.9/src/MultiPoint.h Examining data/sfcgal-1.3.9/src/MultiPolygon.cpp Examining data/sfcgal-1.3.9/src/MultiPolygon.h Examining data/sfcgal-1.3.9/src/MultiSolid.cpp Examining data/sfcgal-1.3.9/src/MultiSolid.h Examining data/sfcgal-1.3.9/src/Point.cpp Examining data/sfcgal-1.3.9/src/Point.h Examining data/sfcgal-1.3.9/src/Polygon.cpp Examining data/sfcgal-1.3.9/src/Polygon.h Examining data/sfcgal-1.3.9/src/PolyhedralSurface.cpp Examining data/sfcgal-1.3.9/src/PolyhedralSurface.h Examining data/sfcgal-1.3.9/src/PreparedGeometry.cpp Examining data/sfcgal-1.3.9/src/PreparedGeometry.h Examining data/sfcgal-1.3.9/src/Solid.cpp Examining data/sfcgal-1.3.9/src/Solid.h Examining data/sfcgal-1.3.9/src/Surface.cpp Examining data/sfcgal-1.3.9/src/Surface.h Examining data/sfcgal-1.3.9/src/Transform.cpp Examining data/sfcgal-1.3.9/src/Transform.h Examining data/sfcgal-1.3.9/src/Triangle.cpp Examining data/sfcgal-1.3.9/src/Triangle.h Examining data/sfcgal-1.3.9/src/TriangulatedSurface.cpp Examining data/sfcgal-1.3.9/src/TriangulatedSurface.h Examining data/sfcgal-1.3.9/src/Validity.h Examining data/sfcgal-1.3.9/src/algorithm/BoundaryVisitor.cpp Examining data/sfcgal-1.3.9/src/algorithm/BoundaryVisitor.h Examining data/sfcgal-1.3.9/src/algorithm/ConsistentOrientationBuilder.cpp Examining data/sfcgal-1.3.9/src/algorithm/ConsistentOrientationBuilder.h Examining data/sfcgal-1.3.9/src/algorithm/Intersection2D.cpp Examining data/sfcgal-1.3.9/src/algorithm/Intersection3D.cpp Examining data/sfcgal-1.3.9/src/algorithm/area.cpp Examining data/sfcgal-1.3.9/src/algorithm/area.h Examining data/sfcgal-1.3.9/src/algorithm/collect.cpp Examining data/sfcgal-1.3.9/src/algorithm/collect.h Examining data/sfcgal-1.3.9/src/algorithm/collectionExtract.cpp Examining data/sfcgal-1.3.9/src/algorithm/collectionExtract.h Examining data/sfcgal-1.3.9/src/algorithm/collectionHomogenize.cpp Examining data/sfcgal-1.3.9/src/algorithm/collectionHomogenize.h Examining data/sfcgal-1.3.9/src/algorithm/collectionToMulti.cpp Examining data/sfcgal-1.3.9/src/algorithm/collectionToMulti.h Examining data/sfcgal-1.3.9/src/algorithm/connection.cpp Examining data/sfcgal-1.3.9/src/algorithm/connection.h Examining data/sfcgal-1.3.9/src/algorithm/convexHull.cpp Examining data/sfcgal-1.3.9/src/algorithm/convexHull.h Examining data/sfcgal-1.3.9/src/algorithm/covers.cpp Examining data/sfcgal-1.3.9/src/algorithm/covers.h Examining data/sfcgal-1.3.9/src/algorithm/difference.cpp Examining data/sfcgal-1.3.9/src/algorithm/difference.h Examining data/sfcgal-1.3.9/src/algorithm/differencePrimitives.cpp Examining data/sfcgal-1.3.9/src/algorithm/differencePrimitives.h Examining data/sfcgal-1.3.9/src/algorithm/distance.cpp Examining data/sfcgal-1.3.9/src/algorithm/distance.h Examining data/sfcgal-1.3.9/src/algorithm/distance3d.cpp Examining data/sfcgal-1.3.9/src/algorithm/distance3d.h Examining data/sfcgal-1.3.9/src/algorithm/extrude.cpp Examining data/sfcgal-1.3.9/src/algorithm/extrude.h Examining data/sfcgal-1.3.9/src/algorithm/force2D.cpp Examining data/sfcgal-1.3.9/src/algorithm/force2D.h Examining data/sfcgal-1.3.9/src/algorithm/force3D.cpp Examining data/sfcgal-1.3.9/src/algorithm/force3D.h Examining data/sfcgal-1.3.9/src/algorithm/intersection.cpp Examining data/sfcgal-1.3.9/src/algorithm/intersection.h Examining data/sfcgal-1.3.9/src/algorithm/intersects.cpp Examining data/sfcgal-1.3.9/src/algorithm/intersects.h Examining data/sfcgal-1.3.9/src/algorithm/isValid.cpp Examining data/sfcgal-1.3.9/src/algorithm/isValid.h Examining data/sfcgal-1.3.9/src/algorithm/length.cpp Examining data/sfcgal-1.3.9/src/algorithm/length.h Examining data/sfcgal-1.3.9/src/algorithm/lineSubstring.cpp Examining data/sfcgal-1.3.9/src/algorithm/lineSubstring.h Examining data/sfcgal-1.3.9/src/algorithm/minkowskiSum.cpp Examining data/sfcgal-1.3.9/src/algorithm/minkowskiSum.h Examining data/sfcgal-1.3.9/src/algorithm/normal.h Examining data/sfcgal-1.3.9/src/algorithm/offset.cpp Examining data/sfcgal-1.3.9/src/algorithm/offset.h Examining data/sfcgal-1.3.9/src/algorithm/orientation.cpp Examining data/sfcgal-1.3.9/src/algorithm/orientation.h Examining data/sfcgal-1.3.9/src/algorithm/plane.h Examining data/sfcgal-1.3.9/src/algorithm/straightSkeleton.cpp Examining data/sfcgal-1.3.9/src/algorithm/straightSkeleton.h Examining data/sfcgal-1.3.9/src/algorithm/tesselate.cpp Examining data/sfcgal-1.3.9/src/algorithm/tesselate.h Examining data/sfcgal-1.3.9/src/algorithm/translate.cpp Examining data/sfcgal-1.3.9/src/algorithm/translate.h Examining data/sfcgal-1.3.9/src/algorithm/union.cpp Examining data/sfcgal-1.3.9/src/algorithm/union.h Examining data/sfcgal-1.3.9/src/algorithm/volume.cpp Examining data/sfcgal-1.3.9/src/algorithm/volume.h Examining data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp Examining data/sfcgal-1.3.9/src/capi/sfcgal_c.h Examining data/sfcgal-1.3.9/src/detail/ComplexComparator.h Examining data/sfcgal-1.3.9/src/detail/EnvelopeVisitor.cpp Examining data/sfcgal-1.3.9/src/detail/EnvelopeVisitor.h Examining data/sfcgal-1.3.9/src/detail/ForceValidityVisitor.cpp Examining data/sfcgal-1.3.9/src/detail/ForceValidityVisitor.h Examining data/sfcgal-1.3.9/src/detail/GeometrySet.cpp Examining data/sfcgal-1.3.9/src/detail/GeometrySet.h Examining data/sfcgal-1.3.9/src/detail/GetPointsVisitor.cpp Examining data/sfcgal-1.3.9/src/detail/GetPointsVisitor.h Examining data/sfcgal-1.3.9/src/detail/Interval.cpp Examining data/sfcgal-1.3.9/src/detail/Interval.h Examining data/sfcgal-1.3.9/src/detail/Point_inside_polyhedron.h Examining data/sfcgal-1.3.9/src/detail/TestGeometry.h Examining data/sfcgal-1.3.9/src/detail/TypeForDimension.h Examining data/sfcgal-1.3.9/src/detail/algorithm/coversPoints.cpp Examining data/sfcgal-1.3.9/src/detail/algorithm/coversPoints.h Examining data/sfcgal-1.3.9/src/detail/generator/building.cpp Examining data/sfcgal-1.3.9/src/detail/generator/building.h Examining data/sfcgal-1.3.9/src/detail/generator/disc.cpp Examining data/sfcgal-1.3.9/src/detail/generator/disc.h Examining data/sfcgal-1.3.9/src/detail/generator/hoch.cpp Examining data/sfcgal-1.3.9/src/detail/generator/hoch.h Examining data/sfcgal-1.3.9/src/detail/generator/sierpinski.cpp Examining data/sfcgal-1.3.9/src/detail/generator/sierpinski.h Examining data/sfcgal-1.3.9/src/detail/graph/Edge.cpp Examining data/sfcgal-1.3.9/src/detail/graph/Edge.h Examining data/sfcgal-1.3.9/src/detail/graph/GeometryGraph.h Examining data/sfcgal-1.3.9/src/detail/graph/GeometryGraphBuilder.h Examining data/sfcgal-1.3.9/src/detail/graph/Vertex.cpp Examining data/sfcgal-1.3.9/src/detail/graph/Vertex.h Examining data/sfcgal-1.3.9/src/detail/graph/algorithm/isHalfEdge.h Examining data/sfcgal-1.3.9/src/detail/graph/algorithm/orientation.h Examining data/sfcgal-1.3.9/src/detail/io/OsgFactory.cpp Examining data/sfcgal-1.3.9/src/detail/io/OsgFactory.h Examining data/sfcgal-1.3.9/src/detail/io/Serialization.cpp Examining data/sfcgal-1.3.9/src/detail/io/Serialization.h Examining data/sfcgal-1.3.9/src/detail/io/WktReader.cpp Examining data/sfcgal-1.3.9/src/detail/io/WktReader.h Examining data/sfcgal-1.3.9/src/detail/io/WktWriter.cpp Examining data/sfcgal-1.3.9/src/detail/io/WktWriter.h Examining data/sfcgal-1.3.9/src/detail/polygonSetToMultiPolygon.cpp Examining data/sfcgal-1.3.9/src/detail/polygonSetToMultiPolygon.h Examining data/sfcgal-1.3.9/src/detail/tools/CharArrayBuffer.cpp Examining data/sfcgal-1.3.9/src/detail/tools/CharArrayBuffer.h Examining data/sfcgal-1.3.9/src/detail/tools/InputStreamReader.h Examining data/sfcgal-1.3.9/src/detail/tools/Log.cpp Examining data/sfcgal-1.3.9/src/detail/tools/Log.h Examining data/sfcgal-1.3.9/src/detail/tools/Registry.cpp Examining data/sfcgal-1.3.9/src/detail/tools/Registry.h Examining data/sfcgal-1.3.9/src/detail/transform/AffineTransform2.cpp Examining data/sfcgal-1.3.9/src/detail/transform/AffineTransform2.h Examining data/sfcgal-1.3.9/src/detail/transform/AffineTransform3.cpp Examining data/sfcgal-1.3.9/src/detail/transform/AffineTransform3.h Examining data/sfcgal-1.3.9/src/detail/transform/Force2D.cpp Examining data/sfcgal-1.3.9/src/detail/transform/Force2D.h Examining data/sfcgal-1.3.9/src/detail/transform/ForceOrderPoints.cpp Examining data/sfcgal-1.3.9/src/detail/transform/ForceOrderPoints.h Examining data/sfcgal-1.3.9/src/detail/transform/ForceZ.cpp Examining data/sfcgal-1.3.9/src/detail/transform/ForceZ.h Examining data/sfcgal-1.3.9/src/detail/transform/ForceZOrderPoints.cpp Examining data/sfcgal-1.3.9/src/detail/transform/ForceZOrderPoints.h Examining data/sfcgal-1.3.9/src/detail/transform/RoundTransform.cpp Examining data/sfcgal-1.3.9/src/detail/transform/RoundTransform.h Examining data/sfcgal-1.3.9/src/detail/triangulate/ConstraintDelaunayTriangulation.cpp Examining data/sfcgal-1.3.9/src/detail/triangulate/ConstraintDelaunayTriangulation.h Examining data/sfcgal-1.3.9/src/detail/triangulate/markDomains.h Examining data/sfcgal-1.3.9/src/detail/triangulate/triangulateInGeometrySet.cpp Examining data/sfcgal-1.3.9/src/detail/triangulate/triangulateInGeometrySet.h Examining data/sfcgal-1.3.9/src/detail/ublas.h Examining data/sfcgal-1.3.9/src/export.h Examining data/sfcgal-1.3.9/src/io/GeometryStreams.cpp Examining data/sfcgal-1.3.9/src/io/GeometryStreams.h Examining data/sfcgal-1.3.9/src/io/ewkt.cpp Examining data/sfcgal-1.3.9/src/io/ewkt.h Examining data/sfcgal-1.3.9/src/io/osg.cpp Examining data/sfcgal-1.3.9/src/io/osg.h Examining data/sfcgal-1.3.9/src/io/vtk.h Examining data/sfcgal-1.3.9/src/io/wkt.cpp Examining data/sfcgal-1.3.9/src/io/wkt.h Examining data/sfcgal-1.3.9/src/numeric.cpp Examining data/sfcgal-1.3.9/src/numeric.h Examining data/sfcgal-1.3.9/src/triangulate/triangulate2DZ.cpp Examining data/sfcgal-1.3.9/src/triangulate/triangulate2DZ.h Examining data/sfcgal-1.3.9/src/triangulate/triangulatePolygon.cpp Examining data/sfcgal-1.3.9/src/triangulate/triangulatePolygon.h Examining data/sfcgal-1.3.9/src/version.cpp Examining data/sfcgal-1.3.9/test/bench/Bench.cpp Examining data/sfcgal-1.3.9/test/bench/Bench.h Examining data/sfcgal-1.3.9/test/bench/BenchArea.cpp Examining data/sfcgal-1.3.9/test/bench/BenchContainer.cpp Examining data/sfcgal-1.3.9/test/bench/BenchMinkowski.cpp Examining data/sfcgal-1.3.9/test/bench/BenchPredicate.cpp Examining data/sfcgal-1.3.9/test/bench/BenchStraightSkeleton.cpp Examining data/sfcgal-1.3.9/test/bench/BenchTriangulation.cpp Examining data/sfcgal-1.3.9/test/bench/BenchWKT.cpp Examining data/sfcgal-1.3.9/test/bench/IntersectionPerfTest.cpp Examining data/sfcgal-1.3.9/test/bench/KernelPerfTest.cpp Examining data/sfcgal-1.3.9/test/bench/TestModule.cpp Examining data/sfcgal-1.3.9/test/garden/main.cpp Examining data/sfcgal-1.3.9/test/regress/convex_hull/main.cpp Examining data/sfcgal-1.3.9/test/regress/polygon_triangulator/main.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/AreaTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/ConstraintDelaunayTriangulationTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/DistanceTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/IntersectionTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/IntersectsTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/StraightSkeletonTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/TriangulatePolygonTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/WaveFrontObjTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/SFCGAL/WktTest.cpp Examining data/sfcgal-1.3.9/test/regress/standalone/TestModule.cpp Examining data/sfcgal-1.3.9/test/unit/CGAL/AffineTransform3Test.cpp Examining data/sfcgal-1.3.9/test/unit/CGAL/GmpqTest.cpp Examining data/sfcgal-1.3.9/test/unit/CGAL/KernelTest.cpp Examining data/sfcgal-1.3.9/test/unit/CGAL/Plane3Test.cpp Examining data/sfcgal-1.3.9/test/unit/CGAL/WorkWithPoint3AsPoint2.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/CoordinateTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/EnvelopeTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/GeometryCollectionTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/GeometryTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/GeometryVisitorTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/KernelTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/LineStringTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/MultiLineStringTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/MultiPointTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/MultiPolygonTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/MultiSolidTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/NumericTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/PointTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/PolygonTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/SolidTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/TriangleTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/TriangulatedSurfaceTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/ApproximateMedialAxis.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/AreaTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/BoundaryTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/ConnectedTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/ConsistentOrientationBuilderTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/ConvexHullTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/CoversPointsTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/CoversTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/DifferenceTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/DistanceTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/ExtrudeTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/Force3DTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/IntersectionTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/IntersectsTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/IsValidTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/LengthTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/LineSubstringTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/MinkowskiSumTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/NormalTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/OffsetTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/OrientationTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/PlaneTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/StraightSkeletonTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/TesselateTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/TranslateTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/UnionTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/algorithm/VolumeTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/detail/ComplexComparatorTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/detail/IntervalTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/graph/GeometryGraphBuilderTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/graph/GeometryGraphTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/graph/algorithm/IsHalfEdgeTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/io/SerializationTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/io/WktReaderTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/transform/AffineTransform2Test.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/transform/ForceZOrderPointsTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/transform/RoundTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/triangulate/ConstraintDelaunayTriangulationTest.cpp Examining data/sfcgal-1.3.9/test/unit/SFCGAL/triangulate/Triangulate2DZTest.cpp Examining data/sfcgal-1.3.9/test/unit/TestModule.cpp FINAL RESULTS: data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp:79:58: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. static sfcgal_error_handler_t __sfcgal_warning_handler = printf; data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp:80:56: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. static sfcgal_error_handler_t __sfcgal_error_handler = printf; data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp:53:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. sfcgal_set_error_handlers( printf, on_error ); data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp:79:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. sfcgal_set_error_handlers( printf, on_error ); data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp:93:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. sfcgal_set_error_handlers( printf, on_error ); data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp:107:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. sfcgal_set_error_handlers( printf, on_error ); data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp:127:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. sfcgal_set_error_handlers( printf, on_error ); data/sfcgal-1.3.9/test/unit/SFCGAL/capi/sfcgal_cTest.cpp:141:32: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. sfcgal_set_error_handlers( printf, on_error ); data/sfcgal-1.3.9/CGAL_patches/CGAL/internal/corefinement/Polyhedra_output_builder.h:2084:38: [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). #warning this does not work with open polyhedra data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp:656: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( *buffer, str.c_str(), *len ); data/sfcgal-1.3.9/src/LineString.h:222:14: [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 Point_2_const_iterator& other ) const { data/sfcgal-1.3.9/src/LineString.h:264:14: [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 Point_3_const_iterator& other ) const { data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp:234:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( *buffer, wkt.c_str(), *len ); data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp:244:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( *buffer, wkt.c_str(), *len ); data/sfcgal-1.3.9/src/capi/sfcgal_c.cpp:638:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( *buffer, ewkt.c_str(), *len ); data/sfcgal-1.3.9/src/detail/io/WktReader.cpp:62:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). _reader.read( srid ); data/sfcgal-1.3.9/src/detail/io/WktReader.cpp:629:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ( _reader.read( d ) ) { data/sfcgal-1.3.9/src/detail/tools/CharArrayBuffer.cpp:36: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). end_( begin_ + std::strlen( str ) ), data/sfcgal-1.3.9/src/detail/tools/InputStreamReader.h:146:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bool read( T& value ) { data/sfcgal-1.3.9/test/unit/SFCGAL/io/WktReaderTest.cpp:264: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). std::unique_ptr< Geometry > g( readWkt( str, strlen( str ) ) ); data/sfcgal-1.3.9/test/unit/SFCGAL/io/WktReaderTest.cpp:289:54: [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). std::unique_ptr< Geometry > g( readWkt( str, strlen( str ) ) ); ANALYSIS SUMMARY: Hits = 21 Lines analyzed = 62491 in approximately 1.46 seconds (42910 lines/second) Physical Source Lines of Code (SLOC) = 36953 Hits@level = [0] 3 [1] 11 [2] 2 [3] 0 [4] 8 [5] 0 Hits@level+ = [0+] 24 [1+] 21 [2+] 10 [3+] 8 [4+] 8 [5+] 0 Hits/KSLOC@level+ = [0+] 0.649474 [1+] 0.568289 [2+] 0.270614 [3+] 0.216491 [4+] 0.216491 [5+] 0 Dot directories skipped = 1 (--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.