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/geos-3.8.1/tools/astyle/ASResource.cpp Examining data/geos-3.8.1/tools/astyle/ASLocalizer.cpp Examining data/geos-3.8.1/tools/astyle/ASFormatter.cpp Examining data/geos-3.8.1/tools/astyle/ASBeautifier.cpp Examining data/geos-3.8.1/tools/astyle/astyle_main.cpp Examining data/geos-3.8.1/tools/astyle/ASLocalizer.h Examining data/geos-3.8.1/tools/astyle/astyle_main.h Examining data/geos-3.8.1/tools/astyle/ASEnhancer.cpp Examining data/geos-3.8.1/tools/astyle/astyle.h Examining data/geos-3.8.1/swig/python/geos_wrap.cxx Examining data/geos-3.8.1/swig/ruby/geos_wrap.cxx Examining data/geos-3.8.1/capi/geos_c.cpp Examining data/geos-3.8.1/capi/geos_ts_c.cpp Examining data/geos-3.8.1/capi/geos_c.h Examining data/geos-3.8.1/include/geos/indexChain.h Examining data/geos-3.8.1/include/geos/geomgraph/Label.h Examining data/geos-3.8.1/include/geos/geomgraph/NodeMap.h Examining data/geos-3.8.1/include/geos/geomgraph/Edge.h Examining data/geos-3.8.1/include/geos/geomgraph/NodeFactory.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeIntersectionList.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeEndStar.h Examining data/geos-3.8.1/include/geos/geomgraph/DirectedEdgeStar.h Examining data/geos-3.8.1/include/geos/geomgraph/DirectedEdge.h Examining data/geos-3.8.1/include/geos/geomgraph/Node.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeIntersection.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeRing.h Examining data/geos-3.8.1/include/geos/geomgraph/GraphComponent.h Examining data/geos-3.8.1/include/geos/geomgraph/Quadrant.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeNodingValidator.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SegmentIntersector.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SweepLineEventObj.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SweepLineSegment.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SweepLineEvent.h Examining data/geos-3.8.1/include/geos/geomgraph/index/MonotoneChain.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SimpleSweepLineIntersector.h Examining data/geos-3.8.1/include/geos/geomgraph/index/MonotoneChainEdge.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SimpleEdgeSetIntersector.h Examining data/geos-3.8.1/include/geos/geomgraph/index/SimpleMCSweepLineIntersector.h Examining data/geos-3.8.1/include/geos/geomgraph/index/EdgeSetIntersector.h Examining data/geos-3.8.1/include/geos/geomgraph/index/MonotoneChainIndexer.h Examining data/geos-3.8.1/include/geos/geomgraph/Depth.h Examining data/geos-3.8.1/include/geos/geomgraph/TopologyLocation.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeEnd.h Examining data/geos-3.8.1/include/geos/geomgraph/EdgeList.h Examining data/geos-3.8.1/include/geos/geomgraph/Position.h Examining data/geos-3.8.1/include/geos/geomgraph/GeometryGraph.h Examining data/geos-3.8.1/include/geos/geomgraph/PlanarGraph.h Examining data/geos-3.8.1/include/geos/opOverlay.h Examining data/geos-3.8.1/include/geos/operation/IsSimpleOp.h Examining data/geos-3.8.1/include/geos/operation/valid/RepeatedPointRemover.h Examining data/geos-3.8.1/include/geos/operation/valid/TopologyValidationError.h Examining data/geos-3.8.1/include/geos/operation/valid/IsValidOp.h Examining data/geos-3.8.1/include/geos/operation/valid/SweeplineNestedRingTester.h Examining data/geos-3.8.1/include/geos/operation/valid/ConsistentAreaTester.h Examining data/geos-3.8.1/include/geos/operation/valid/MakeValid.h Examining data/geos-3.8.1/include/geos/operation/valid/SimpleNestedRingTester.h Examining data/geos-3.8.1/include/geos/operation/valid/ConnectedInteriorTester.h Examining data/geos-3.8.1/include/geos/operation/valid/RepeatedPointTester.h Examining data/geos-3.8.1/include/geos/operation/valid/QuadtreeNestedRingTester.h Examining data/geos-3.8.1/include/geos/operation/predicate/RectangleIntersects.h Examining data/geos-3.8.1/include/geos/operation/predicate/RectangleContains.h Examining data/geos-3.8.1/include/geos/operation/predicate/SegmentIntersectionTester.h Examining data/geos-3.8.1/include/geos/operation/distance/ConnectedElementPointFilter.h Examining data/geos-3.8.1/include/geos/operation/distance/DistanceOp.h Examining data/geos-3.8.1/include/geos/operation/distance/GeometryLocation.h Examining data/geos-3.8.1/include/geos/operation/distance/IndexedFacetDistance.h Examining data/geos-3.8.1/include/geos/operation/distance/FacetSequenceTreeBuilder.h Examining data/geos-3.8.1/include/geos/operation/distance/FacetSequence.h Examining data/geos-3.8.1/include/geos/operation/distance/ConnectedElementLocationFilter.h Examining data/geos-3.8.1/include/geos/operation/GeometryGraphOperation.h Examining data/geos-3.8.1/include/geos/operation/intersection/RectangleIntersectionBuilder.h Examining data/geos-3.8.1/include/geos/operation/intersection/RectangleIntersection.h Examining data/geos-3.8.1/include/geos/operation/intersection/Rectangle.h Examining data/geos-3.8.1/include/geos/operation/polygonize/PolygonizeEdge.h Examining data/geos-3.8.1/include/geos/operation/polygonize/Polygonizer.h Examining data/geos-3.8.1/include/geos/operation/polygonize/EdgeRing.h Examining data/geos-3.8.1/include/geos/operation/polygonize/PolygonizeGraph.h Examining data/geos-3.8.1/include/geos/operation/polygonize/BuildArea.h Examining data/geos-3.8.1/include/geos/operation/polygonize/PolygonizeDirectedEdge.h Examining data/geos-3.8.1/include/geos/operation/polygonize/HoleAssigner.h Examining data/geos-3.8.1/include/geos/operation/union/OverlapUnion.h Examining data/geos-3.8.1/include/geos/operation/union/UnaryUnionOp.h Examining data/geos-3.8.1/include/geos/operation/union/CascadedPolygonUnion.h Examining data/geos-3.8.1/include/geos/operation/union/GeometryListHolder.h Examining data/geos-3.8.1/include/geos/operation/union/CoverageUnion.h Examining data/geos-3.8.1/include/geos/operation/union/CascadedUnion.h Examining data/geos-3.8.1/include/geos/operation/union/PointGeometryUnion.h Examining data/geos-3.8.1/include/geos/operation/linemerge/LineMergeEdge.h Examining data/geos-3.8.1/include/geos/operation/linemerge/LineSequencer.h Examining data/geos-3.8.1/include/geos/operation/linemerge/LineMergeDirectedEdge.h Examining data/geos-3.8.1/include/geos/operation/linemerge/LineMerger.h Examining data/geos-3.8.1/include/geos/operation/linemerge/LineMergeGraph.h Examining data/geos-3.8.1/include/geos/operation/linemerge/EdgeString.h Examining data/geos-3.8.1/include/geos/operation/relate/RelateOp.h Examining data/geos-3.8.1/include/geos/operation/relate/EdgeEndBundleStar.h Examining data/geos-3.8.1/include/geos/operation/relate/RelateNodeFactory.h Examining data/geos-3.8.1/include/geos/operation/relate/RelateNodeGraph.h Examining data/geos-3.8.1/include/geos/operation/relate/RelateNode.h Examining data/geos-3.8.1/include/geos/operation/relate/RelateComputer.h Examining data/geos-3.8.1/include/geos/operation/relate/EdgeEndBundle.h Examining data/geos-3.8.1/include/geos/operation/relate/EdgeEndBuilder.h Examining data/geos-3.8.1/include/geos/operation/overlay/ElevationMatrix.h Examining data/geos-3.8.1/include/geos/operation/overlay/validate/OffsetPointGenerator.h Examining data/geos-3.8.1/include/geos/operation/overlay/validate/FuzzyPointLocator.h Examining data/geos-3.8.1/include/geos/operation/overlay/validate/OverlayResultValidator.h Examining data/geos-3.8.1/include/geos/operation/overlay/LineBuilder.h Examining data/geos-3.8.1/include/geos/operation/overlay/OverlayNodeFactory.h Examining data/geos-3.8.1/include/geos/operation/overlay/EdgeSetNoder.h Examining data/geos-3.8.1/include/geos/operation/overlay/OverlayOp.h Examining data/geos-3.8.1/include/geos/operation/overlay/ElevationMatrixCell.h Examining data/geos-3.8.1/include/geos/operation/overlay/snap/GeometrySnapper.h Examining data/geos-3.8.1/include/geos/operation/overlay/snap/SnapIfNeededOverlayOp.h Examining data/geos-3.8.1/include/geos/operation/overlay/snap/LineStringSnapper.h Examining data/geos-3.8.1/include/geos/operation/overlay/snap/SnapOverlayOp.h Examining data/geos-3.8.1/include/geos/operation/overlay/PolygonBuilder.h Examining data/geos-3.8.1/include/geos/operation/overlay/PointBuilder.h Examining data/geos-3.8.1/include/geos/operation/overlay/MinimalEdgeRing.h Examining data/geos-3.8.1/include/geos/operation/overlay/MaximalEdgeRing.h Examining data/geos-3.8.1/include/geos/operation/sharedpaths/SharedPathsOp.h Examining data/geos-3.8.1/include/geos/operation/buffer/OffsetCurveSetBuilder.h Examining data/geos-3.8.1/include/geos/operation/buffer/OffsetSegmentString.h Examining data/geos-3.8.1/include/geos/operation/buffer/BufferInputLineSimplifier.h Examining data/geos-3.8.1/include/geos/operation/buffer/BufferBuilder.h Examining data/geos-3.8.1/include/geos/operation/buffer/OffsetSegmentGenerator.h Examining data/geos-3.8.1/include/geos/operation/buffer/SubgraphDepthLocater.h Examining data/geos-3.8.1/include/geos/operation/buffer/OffsetCurveBuilder.h Examining data/geos-3.8.1/include/geos/operation/buffer/RightmostEdgeFinder.h Examining data/geos-3.8.1/include/geos/operation/buffer/BufferSubgraph.h Examining data/geos-3.8.1/include/geos/operation/buffer/BufferOp.h Examining data/geos-3.8.1/include/geos/operation/buffer/BufferParameters.h Examining data/geos-3.8.1/include/geos/export.h Examining data/geos-3.8.1/include/geos/opRelate.h Examining data/geos-3.8.1/include/geos/util/GeometricShapeFactory.h Examining data/geos-3.8.1/include/geos/util/GEOSException.h Examining data/geos-3.8.1/include/geos/util/Machine.h Examining data/geos-3.8.1/include/geos/util/TopologyException.h Examining data/geos-3.8.1/include/geos/util/UniqueCoordinateArrayFilter.h Examining data/geos-3.8.1/include/geos/util/Interrupt.h Examining data/geos-3.8.1/include/geos/util/math.h Examining data/geos-3.8.1/include/geos/util/UnsupportedOperationException.h Examining data/geos-3.8.1/include/geos/util/IllegalStateException.h Examining data/geos-3.8.1/include/geos/util/CoordinateArrayFilter.h Examining data/geos-3.8.1/include/geos/util/Assert.h Examining data/geos-3.8.1/include/geos/util/IllegalArgumentException.h Examining data/geos-3.8.1/include/geos/util/AssertionFailedException.h Examining data/geos-3.8.1/include/geos/spatialIndex.h Examining data/geos-3.8.1/include/geos/linearref/LinearLocation.h Examining data/geos-3.8.1/include/geos/linearref/LengthIndexOfPoint.h Examining data/geos-3.8.1/include/geos/linearref/ExtractLineByLocation.h Examining data/geos-3.8.1/include/geos/linearref/LinearIterator.h Examining data/geos-3.8.1/include/geos/linearref/LengthLocationMap.h Examining data/geos-3.8.1/include/geos/linearref/LinearGeometryBuilder.h Examining data/geos-3.8.1/include/geos/linearref/LocationIndexOfLine.h Examining data/geos-3.8.1/include/geos/linearref/LocationIndexOfPoint.h Examining data/geos-3.8.1/include/geos/linearref/LocationIndexedLine.h Examining data/geos-3.8.1/include/geos/linearref/LengthIndexedLine.h Examining data/geos-3.8.1/include/geos/nodingSnapround.h Examining data/geos-3.8.1/include/geos/precision.h Examining data/geos-3.8.1/include/geos/indexQuadtree.h Examining data/geos-3.8.1/include/geos/geomgraph.h Examining data/geos-3.8.1/include/geos/opPredicate.h Examining data/geos-3.8.1/include/geos/io/CLocalizer.h Examining data/geos-3.8.1/include/geos/io/WKBReader.h Examining data/geos-3.8.1/include/geos/io/WKTReader.h Examining data/geos-3.8.1/include/geos/io/ByteOrderValues.h Examining data/geos-3.8.1/include/geos/io/WKBConstants.h Examining data/geos-3.8.1/include/geos/io/StringTokenizer.h Examining data/geos-3.8.1/include/geos/io/WKBWriter.h Examining data/geos-3.8.1/include/geos/io/Writer.h Examining data/geos-3.8.1/include/geos/io/ParseException.h Examining data/geos-3.8.1/include/geos/io/ByteOrderDataInStream.h Examining data/geos-3.8.1/include/geos/io/WKTWriter.h Examining data/geos-3.8.1/include/geos/planargraph/Subgraph.h Examining data/geos-3.8.1/include/geos/planargraph/NodeMap.h Examining data/geos-3.8.1/include/geos/planargraph/Edge.h Examining data/geos-3.8.1/include/geos/planargraph/DirectedEdgeStar.h Examining data/geos-3.8.1/include/geos/planargraph/DirectedEdge.h Examining data/geos-3.8.1/include/geos/planargraph/Node.h Examining data/geos-3.8.1/include/geos/planargraph/algorithm/ConnectedSubgraphFinder.h Examining data/geos-3.8.1/include/geos/planargraph/GraphComponent.h Examining data/geos-3.8.1/include/geos/planargraph/PlanarGraph.h Examining data/geos-3.8.1/include/geos/inline.h Examining data/geos-3.8.1/include/geos/algorithm/InteriorPointArea.h Examining data/geos-3.8.1/include/geos/algorithm/HCoordinate.h Examining data/geos-3.8.1/include/geos/algorithm/locate/IndexedPointInAreaLocator.h Examining data/geos-3.8.1/include/geos/algorithm/locate/SimplePointInAreaLocator.h Examining data/geos-3.8.1/include/geos/algorithm/locate/PointOnGeometryLocator.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathbig.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathtypes.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathobjects.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmaththreads.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathuint_noasm.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathmisc.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathparser.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathdec.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathuint.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathuint_x86.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmath.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathuint_x86_64.h Examining data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathint.h Examining data/geos-3.8.1/include/geos/algorithm/Intersection.h Examining data/geos-3.8.1/include/geos/algorithm/Orientation.h Examining data/geos-3.8.1/include/geos/algorithm/Distance.h Examining data/geos-3.8.1/include/geos/algorithm/InteriorPointPoint.h Examining data/geos-3.8.1/include/geos/algorithm/MinimumBoundingCircle.h Examining data/geos-3.8.1/include/geos/algorithm/distance/PointPairDistance.h Examining data/geos-3.8.1/include/geos/algorithm/distance/DistanceToPoint.h Examining data/geos-3.8.1/include/geos/algorithm/distance/DiscreteHausdorffDistance.h Examining data/geos-3.8.1/include/geos/algorithm/distance/DiscreteFrechetDistance.h Examining data/geos-3.8.1/include/geos/algorithm/LineIntersector.h Examining data/geos-3.8.1/include/geos/algorithm/NotRepresentableException.h Examining data/geos-3.8.1/include/geos/algorithm/RobustDeterminant.h Examining data/geos-3.8.1/include/geos/algorithm/Area.h Examining data/geos-3.8.1/include/geos/algorithm/Centroid.h Examining data/geos-3.8.1/include/geos/algorithm/RayCrossingCounter.h Examining data/geos-3.8.1/include/geos/algorithm/Angle.h Examining data/geos-3.8.1/include/geos/algorithm/RayCrossingCounterDD.h Examining data/geos-3.8.1/include/geos/algorithm/BoundaryNodeRule.h Examining data/geos-3.8.1/include/geos/algorithm/CentralEndpointIntersector.h Examining data/geos-3.8.1/include/geos/algorithm/MinimumDiameter.h Examining data/geos-3.8.1/include/geos/algorithm/Length.h Examining data/geos-3.8.1/include/geos/algorithm/InteriorPointLine.h Examining data/geos-3.8.1/include/geos/algorithm/PointLocation.h Examining data/geos-3.8.1/include/geos/algorithm/ConvexHull.h Examining data/geos-3.8.1/include/geos/algorithm/CGAlgorithmsDD.h Examining data/geos-3.8.1/include/geos/algorithm/PointLocator.h Examining data/geos-3.8.1/include/geos/opPolygonize.h Examining data/geos-3.8.1/include/geos/constants.h Examining data/geos-3.8.1/include/geos/unload.h Examining data/geos-3.8.1/include/geos/indexStrtree.h Examining data/geos-3.8.1/include/geos/geom/CoordinateSequenceFactory.h Examining data/geos-3.8.1/include/geos/geom/Polygon.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPolygon.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPoint.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPolygonIntersects.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPolygonCovers.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedGeometry.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedLineString.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPolygonContainsProperly.h Examining data/geos-3.8.1/include/geos/geom/prep/BasicPreparedGeometry.h Examining data/geos-3.8.1/include/geos/geom/prep/AbstractPreparedPolygonContains.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPolygonPredicate.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedLineStringIntersects.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedGeometryFactory.h Examining data/geos-3.8.1/include/geos/geom/prep/PreparedPolygonContains.h Examining data/geos-3.8.1/include/geos/geom/GeometryFilter.h Examining data/geos-3.8.1/include/geos/geom/GeometryCollection.h Examining data/geos-3.8.1/include/geos/geom/Point.h Examining data/geos-3.8.1/include/geos/geom/util/CoordinateOperation.h Examining data/geos-3.8.1/include/geos/geom/util/SineStarFactory.h Examining data/geos-3.8.1/include/geos/geom/util/GeometryCombiner.h Examining data/geos-3.8.1/include/geos/geom/util/ComponentCoordinateExtracter.h Examining data/geos-3.8.1/include/geos/geom/util/PolygonExtracter.h Examining data/geos-3.8.1/include/geos/geom/util/LinearComponentExtracter.h Examining data/geos-3.8.1/include/geos/geom/util/PointExtracter.h Examining data/geos-3.8.1/include/geos/geom/util/GeometryTransformer.h Examining data/geos-3.8.1/include/geos/geom/util/ShortCircuitedGeometryVisitor.h Examining data/geos-3.8.1/include/geos/geom/util/GeometryExtracter.h Examining data/geos-3.8.1/include/geos/geom/util/GeometryEditorOperation.h Examining data/geos-3.8.1/include/geos/geom/util/Densifier.h Examining data/geos-3.8.1/include/geos/geom/util/GeometryEditor.h Examining data/geos-3.8.1/include/geos/geom/GeometryFactory.h Examining data/geos-3.8.1/include/geos/geom/CoordinateSequenceFilter.h Examining data/geos-3.8.1/include/geos/geom/Coordinate.h Examining data/geos-3.8.1/include/geos/geom/CoordinateArraySequenceFactory.h Examining data/geos-3.8.1/include/geos/geom/LineSegment.h Examining data/geos-3.8.1/include/geos/geom/MultiPolygon.h Examining data/geos-3.8.1/include/geos/geom/CoordinateList.h Examining data/geos-3.8.1/include/geos/geom/MultiLineString.h Examining data/geos-3.8.1/include/geos/geom/IntersectionMatrix.h Examining data/geos-3.8.1/include/geos/geom/DefaultCoordinateSequenceFactory.h Examining data/geos-3.8.1/include/geos/geom/LinearRing.h Examining data/geos-3.8.1/include/geos/geom/PrecisionModel.h Examining data/geos-3.8.1/include/geos/geom/FixedSizeCoordinateSequence.h Examining data/geos-3.8.1/include/geos/geom/GeometryComponentFilter.h Examining data/geos-3.8.1/include/geos/geom/Triangle.h Examining data/geos-3.8.1/include/geos/geom/Location.h Examining data/geos-3.8.1/include/geos/geom/Envelope.h Examining data/geos-3.8.1/include/geos/geom/CoordinateSequence.h Examining data/geos-3.8.1/include/geos/geom/MultiPoint.h Examining data/geos-3.8.1/include/geos/geom/LineString.h Examining data/geos-3.8.1/include/geos/geom/CoordinateArraySequence.h Examining data/geos-3.8.1/include/geos/geom/Dimension.h Examining data/geos-3.8.1/include/geos/geom/BinaryOp.h Examining data/geos-3.8.1/include/geos/geom/Geometry.h Examining data/geos-3.8.1/include/geos/geom/CoordinateFilter.h Examining data/geos-3.8.1/include/geos/io.h Examining data/geos-3.8.1/include/geos/util.h Examining data/geos-3.8.1/include/geos/index/SpatialIndex.h Examining data/geos-3.8.1/include/geos/index/sweepline/SweepLineIndex.h Examining data/geos-3.8.1/include/geos/index/sweepline/SweepLineInterval.h Examining data/geos-3.8.1/include/geos/index/sweepline/SweepLineOverlapAction.h Examining data/geos-3.8.1/include/geos/index/sweepline/SweepLineEvent.h Examining data/geos-3.8.1/include/geos/index/strtree/EnvelopeUtil.h Examining data/geos-3.8.1/include/geos/index/strtree/AbstractNode.h Examining data/geos-3.8.1/include/geos/index/strtree/AbstractSTRtree.h Examining data/geos-3.8.1/include/geos/index/strtree/ItemDistance.h Examining data/geos-3.8.1/include/geos/index/strtree/STRtree.h Examining data/geos-3.8.1/include/geos/index/strtree/GeometryItemDistance.h Examining data/geos-3.8.1/include/geos/index/strtree/ItemBoundable.h Examining data/geos-3.8.1/include/geos/index/strtree/SIRtree.h Examining data/geos-3.8.1/include/geos/index/strtree/BoundablePair.h Examining data/geos-3.8.1/include/geos/index/strtree/Interval.h Examining data/geos-3.8.1/include/geos/index/strtree/Boundable.h Examining data/geos-3.8.1/include/geos/index/chain/MonotoneChainSelectAction.h Examining data/geos-3.8.1/include/geos/index/chain/MonotoneChain.h Examining data/geos-3.8.1/include/geos/index/chain/MonotoneChainOverlapAction.h Examining data/geos-3.8.1/include/geos/index/chain/MonotoneChainBuilder.h Examining data/geos-3.8.1/include/geos/index/intervalrtree/IntervalRTreeNode.h Examining data/geos-3.8.1/include/geos/index/intervalrtree/IntervalRTreeBranchNode.h Examining data/geos-3.8.1/include/geos/index/intervalrtree/IntervalRTreeLeafNode.h Examining data/geos-3.8.1/include/geos/index/intervalrtree/SortedPackedIntervalRTree.h Examining data/geos-3.8.1/include/geos/index/ItemVisitor.h Examining data/geos-3.8.1/include/geos/index/bintree/Key.h Examining data/geos-3.8.1/include/geos/index/bintree/NodeBase.h Examining data/geos-3.8.1/include/geos/index/bintree/Node.h Examining data/geos-3.8.1/include/geos/index/bintree/Bintree.h Examining data/geos-3.8.1/include/geos/index/bintree/Root.h Examining data/geos-3.8.1/include/geos/index/bintree/Interval.h Examining data/geos-3.8.1/include/geos/index/quadtree/IntervalSize.h Examining data/geos-3.8.1/include/geos/index/quadtree/Key.h Examining data/geos-3.8.1/include/geos/index/quadtree/DoubleBits.h Examining data/geos-3.8.1/include/geos/index/quadtree/NodeBase.h Examining data/geos-3.8.1/include/geos/index/quadtree/Node.h Examining data/geos-3.8.1/include/geos/index/quadtree/Root.h Examining data/geos-3.8.1/include/geos/index/quadtree/Quadtree.h Examining data/geos-3.8.1/include/geos/geosAlgorithm.h Examining data/geos-3.8.1/include/geos/opLinemerge.h Examining data/geos-3.8.1/include/geos/triangulate/VoronoiDiagramBuilder.h Examining data/geos-3.8.1/include/geos/triangulate/DelaunayTriangulationBuilder.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/Vertex.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/LastFoundQuadEdgeLocator.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/QuadEdge.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/QuadEdgeLocator.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/QuadEdgeSubdivision.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/TrianglePredicate.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/LocateFailureException.h Examining data/geos-3.8.1/include/geos/triangulate/quadedge/TriangleVisitor.h Examining data/geos-3.8.1/include/geos/triangulate/IncrementalDelaunayTriangulator.h Examining data/geos-3.8.1/include/geos/geomUtil.h Examining data/geos-3.8.1/include/geos/indexBintree.h Examining data/geos-3.8.1/include/geos/operation.h Examining data/geos-3.8.1/include/geos/precision/PrecisionReducerCoordinateOperation.h Examining data/geos-3.8.1/include/geos/precision/CommonBitsRemover.h Examining data/geos-3.8.1/include/geos/precision/MinimumClearance.h Examining data/geos-3.8.1/include/geos/precision/EnhancedPrecisionOp.h Examining data/geos-3.8.1/include/geos/precision/GeometryPrecisionReducer.h Examining data/geos-3.8.1/include/geos/precision/SimpleGeometryPrecisionReducer.h Examining data/geos-3.8.1/include/geos/precision/CommonBitsOp.h Examining data/geos-3.8.1/include/geos/precision/CommonBits.h Examining data/geos-3.8.1/include/geos/simplify/TaggedLineSegment.h Examining data/geos-3.8.1/include/geos/simplify/LineSegmentIndex.h Examining data/geos-3.8.1/include/geos/simplify/TaggedLineStringSimplifier.h Examining data/geos-3.8.1/include/geos/simplify/TopologyPreservingSimplifier.h Examining data/geos-3.8.1/include/geos/simplify/DouglasPeuckerSimplifier.h Examining data/geos-3.8.1/include/geos/simplify/DouglasPeuckerLineSimplifier.h Examining data/geos-3.8.1/include/geos/simplify/TaggedLineString.h Examining data/geos-3.8.1/include/geos/simplify/TaggedLinesSimplifier.h Examining data/geos-3.8.1/include/geos/profiler.h Examining data/geos-3.8.1/include/geos/opDistance.h Examining data/geos-3.8.1/include/geos/opBuffer.h Examining data/geos-3.8.1/include/geos/noding/IntersectionAdder.h Examining data/geos-3.8.1/include/geos/noding/SegmentIntersector.h Examining data/geos-3.8.1/include/geos/noding/MCIndexSegmentSetMutualIntersector.h Examining data/geos-3.8.1/include/geos/noding/SegmentNodeList.h Examining data/geos-3.8.1/include/geos/noding/FastNodingValidator.h Examining data/geos-3.8.1/include/geos/noding/Octant.h Examining data/geos-3.8.1/include/geos/noding/OrientedCoordinateArray.h Examining data/geos-3.8.1/include/geos/noding/NodedSegmentString.h Examining data/geos-3.8.1/include/geos/noding/BasicSegmentString.h Examining data/geos-3.8.1/include/geos/noding/snapround/HotPixel.h Examining data/geos-3.8.1/include/geos/noding/snapround/MCIndexPointSnapper.h Examining data/geos-3.8.1/include/geos/noding/snapround/MCIndexSnapRounder.h Examining data/geos-3.8.1/include/geos/noding/snapround/SimpleSnapRounder.h Examining data/geos-3.8.1/include/geos/noding/IntersectionFinderAdder.h Examining data/geos-3.8.1/include/geos/noding/SinglePassNoder.h Examining data/geos-3.8.1/include/geos/noding/NodableSegmentString.h Examining data/geos-3.8.1/include/geos/noding/Noder.h Examining data/geos-3.8.1/include/geos/noding/NodingValidator.h Examining data/geos-3.8.1/include/geos/noding/SegmentPointComparator.h Examining data/geos-3.8.1/include/geos/noding/MCIndexNoder.h Examining data/geos-3.8.1/include/geos/noding/FastSegmentSetIntersectionFinder.h Examining data/geos-3.8.1/include/geos/noding/SegmentNode.h Examining data/geos-3.8.1/include/geos/noding/SegmentIntersectionDetector.h Examining data/geos-3.8.1/include/geos/noding/NodingIntersectionFinder.h Examining data/geos-3.8.1/include/geos/noding/SimpleNoder.h Examining data/geos-3.8.1/include/geos/noding/ScaledNoder.h Examining data/geos-3.8.1/include/geos/noding/SegmentString.h Examining data/geos-3.8.1/include/geos/noding/SegmentSetMutualIntersector.h Examining data/geos-3.8.1/include/geos/noding/SegmentStringUtil.h Examining data/geos-3.8.1/include/geos/noding/GeometryNoder.h Examining data/geos-3.8.1/include/geos/noding/IteratedNoder.h Examining data/geos-3.8.1/include/geos/geomgraphindex.h Examining data/geos-3.8.1/include/geos/opValid.h Examining data/geos-3.8.1/include/geos/geom.h Examining data/geos-3.8.1/include/geos/noding.h Examining data/geos-3.8.1/include/geos/indexSweepline.h Examining data/geos-3.8.1/include/geos/planargraph.h Examining data/geos-3.8.1/include/geos.h Examining data/geos-3.8.1/tests/unit/operation/valid/RepeatedPointRemoverTest.cpp Examining data/geos-3.8.1/tests/unit/operation/valid/ValidClosedRingTest.cpp Examining data/geos-3.8.1/tests/unit/operation/valid/IsValidOpTest.cpp Examining data/geos-3.8.1/tests/unit/operation/valid/ValidSelfTouchingRingFormingHoleTest.cpp Examining data/geos-3.8.1/tests/unit/operation/IsSimpleOpTest.cpp Examining data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp Examining data/geos-3.8.1/tests/unit/operation/distance/IndexedFacetDistanceTest.cpp Examining data/geos-3.8.1/tests/unit/operation/intersection/RectangleIntersectionTest.cpp Examining data/geos-3.8.1/tests/unit/operation/geounion/CoverageUnionTest.cpp Examining data/geos-3.8.1/tests/unit/operation/geounion/CascadedPolygonUnionTest.cpp Examining data/geos-3.8.1/tests/unit/operation/geounion/UnaryUnionOpTest.cpp Examining data/geos-3.8.1/tests/unit/operation/polygonize/PolygonizeTest.cpp Examining data/geos-3.8.1/tests/unit/operation/linemerge/LineMergerTest.cpp Examining data/geos-3.8.1/tests/unit/operation/linemerge/LineSequencerTest.cpp Examining data/geos-3.8.1/tests/unit/operation/overlay/validate/OffsetPointGeneratorTest.cpp Examining data/geos-3.8.1/tests/unit/operation/overlay/validate/FuzzyPointLocatorTest.cpp Examining data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp Examining data/geos-3.8.1/tests/unit/operation/overlay/OverlayOpUnionTest.cpp Examining data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp Examining data/geos-3.8.1/tests/unit/operation/overlay/snap/LineStringSnapperTest.cpp Examining data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp Examining data/geos-3.8.1/tests/unit/operation/buffer/BufferParametersTest.cpp Examining data/geos-3.8.1/tests/unit/operation/buffer/BufferBuilderTest.cpp Examining data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp Examining data/geos-3.8.1/tests/unit/util/UniqueCoordinateArrayFilterTest.cpp Examining data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSMinimumBoundingCircleTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSUserDataTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSDistanceTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeom_extentTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSRelatePatternMatchTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSBuildAreaTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSReverseTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSConvexHullTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSMinimumClearanceTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSOffsetCurveTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeom_createCollectionTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSIntersectionTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSSTRtreeTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeomToWKTTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSInterruptTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSUnaryUnionTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSMinimumRectangleTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSRelateBoundaryNodeRuleTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSDelaunayTriangulationTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGetCentroidTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSCoverageUnionTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSContainsTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeom_extractUniquePointsTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSSegmentIntersectionTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSPolygonizeTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSSharedPathsTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSLineString_PointTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSNodeTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeom_setPrecisionTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSEqualsTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSClipByRectTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSMinimumWidthTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSIntersectsTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeom_createTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSPointOnSurfaceTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSMakeValidTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSSimplifyTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSCoordSeqTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSOrientationIndexTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSisValidDetailTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSisClosedTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSVoronoiDiagramTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSCAPIDefinesTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSFrechetDistanceTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSPreparedGeometryTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSInterpolateTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSWithinTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSHausdorffDistanceTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSBufferTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSGeomFromWKBTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSNearestPointsTest.cpp Examining data/geos-3.8.1/tests/unit/capi/GEOSSnapTest.cpp Examining data/geos-3.8.1/tests/unit/io/WKTWriterTest.cpp Examining data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp Examining data/geos-3.8.1/tests/unit/io/ByteOrderValuesTest.cpp Examining data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp Examining data/geos-3.8.1/tests/unit/io/WKBReaderTest.cpp Examining data/geos-3.8.1/tests/unit/io/WriterTest.cpp Examining data/geos-3.8.1/tests/unit/tut/tut_reporter.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_fpt.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_assert.hpp Examining data/geos-3.8.1/tests/unit/tut/tut.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_runner.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_restartable.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_exception.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_posix.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_cppunit_reporter.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_result.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_config.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_macros.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_console_reporter.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_xml_reporter.hpp Examining data/geos-3.8.1/tests/unit/tut/tut_main.hpp Examining data/geos-3.8.1/tests/unit/algorithm/AngleTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/MinimumBoundingCircleTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteFrechetDistanceTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteHausdorffDistanceTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/AreaTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/LocatePointInRingTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/OrientationIndexFailureTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/PointLocatorTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/IntersectionTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isPointInRingTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/signedAreaTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isCCWTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/LengthTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/InteriorPointAreaTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp Examining data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectorTest.cpp Examining data/geos-3.8.1/tests/unit/geom/PrecisionModelTest.cpp Examining data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp Examining data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp Examining data/geos-3.8.1/tests/unit/geom/MultiLineStringTest.cpp Examining data/geos-3.8.1/tests/unit/geom/CoordinateArraySequenceTest.cpp Examining data/geos-3.8.1/tests/unit/geom/EnvelopeTest.cpp Examining data/geos-3.8.1/tests/unit/geom/util/GeometryExtracterTest.cpp Examining data/geos-3.8.1/tests/unit/geom/FixedSizeCoordinateSequenceTest.cpp Examining data/geos-3.8.1/tests/unit/geom/TriangleTest.cpp Examining data/geos-3.8.1/tests/unit/geom/MultiPolygonTest.cpp Examining data/geos-3.8.1/tests/unit/geom/CoordinateTest.cpp Examining data/geos-3.8.1/tests/unit/geom/LineSegmentTest.cpp Examining data/geos-3.8.1/tests/unit/geom/GeometryFactoryTest.cpp Examining data/geos-3.8.1/tests/unit/geom/GeometryComponentFilterTest.cpp Examining data/geos-3.8.1/tests/unit/geom/GeometryCollectionTest.cpp Examining data/geos-3.8.1/tests/unit/geom/CoordinateArraySequenceFactoryTest.cpp Examining data/geos-3.8.1/tests/unit/geom/LinearRingTest.cpp Examining data/geos-3.8.1/tests/unit/geom/LocationTest.cpp Examining data/geos-3.8.1/tests/unit/geom/GeometryFilterTest.cpp Examining data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp Examining data/geos-3.8.1/tests/unit/geom/CoordinateListTest.cpp Examining data/geos-3.8.1/tests/unit/geom/PointTest.cpp Examining data/geos-3.8.1/tests/unit/geom/Geometry/equalsTest.cpp Examining data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp Examining data/geos-3.8.1/tests/unit/geom/Geometry/normalizeTest.cpp Examining data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp Examining data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp Examining data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp Examining data/geos-3.8.1/tests/unit/geom/PolygonTest.cpp Examining data/geos-3.8.1/tests/unit/geom/DimensionTest.cpp Examining data/geos-3.8.1/tests/unit/geom/MultiPointTest.cpp Examining data/geos-3.8.1/tests/unit/geom/IntersectionMatrixTest.cpp Examining data/geos-3.8.1/tests/unit/index/strtree/SIRtreeTest.cpp Examining data/geos-3.8.1/tests/unit/index/quadtree/DoubleBitsTest.cpp Examining data/geos-3.8.1/tests/unit/triangulate/DelaunayTest.cpp Examining data/geos-3.8.1/tests/unit/triangulate/quadedge/VertexTest.cpp Examining data/geos-3.8.1/tests/unit/triangulate/quadedge/QuadEdgeSubdivisionTest.cpp Examining data/geos-3.8.1/tests/unit/triangulate/quadedge/QuadEdgeTest.cpp Examining data/geos-3.8.1/tests/unit/triangulate/VoronoiTest.cpp Examining data/geos-3.8.1/tests/unit/geos_unit.cpp Examining data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp Examining data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp Examining data/geos-3.8.1/tests/unit/precision/CommonBitsTest.cpp Examining data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp Examining data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp Examining data/geos-3.8.1/tests/unit/utility.h Examining data/geos-3.8.1/tests/unit/noding/NodedSegmentStringTest.cpp Examining data/geos-3.8.1/tests/unit/noding/snapround/MCIndexSnapRounderTest.cpp Examining data/geos-3.8.1/tests/unit/noding/snapround/HotPixelTest.cpp Examining data/geos-3.8.1/tests/unit/noding/SegmentPointComparatorTest.cpp Examining data/geos-3.8.1/tests/unit/noding/OrientedCoordinateArrayTest.cpp Examining data/geos-3.8.1/tests/unit/noding/BasicSegmentStringTest.cpp Examining data/geos-3.8.1/tests/unit/noding/SegmentNodeTest.cpp Examining data/geos-3.8.1/tests/bigtest/TestSweepLineSpeed.cpp Examining data/geos-3.8.1/tests/bigtest/GeometryTestFactory.cpp Examining data/geos-3.8.1/tests/bigtest/bigtest.h Examining data/geos-3.8.1/tests/xmltester/SingleSidedBufferResultMatcher.h Examining data/geos-3.8.1/tests/xmltester/XMLTester.cpp Examining data/geos-3.8.1/tests/xmltester/BufferResultMatcher.h Examining data/geos-3.8.1/tests/xmltester/XMLTester.h Examining data/geos-3.8.1/tests/xmltester/SingleSidedBufferResultMatcher.cpp Examining data/geos-3.8.1/tests/xmltester/BufferResultMatcher.cpp Examining data/geos-3.8.1/tests/xmltester/SimpleWKTTester.cpp Examining data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp Examining data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.h Examining data/geos-3.8.1/tests/geostest/geostest.c Examining data/geos-3.8.1/tests/thread/badthreadtest.c Examining data/geos-3.8.1/tests/thread/threadtest.c Examining data/geos-3.8.1/benchmarks/operation/predicate/RectangleIntersectsPerfTest.cpp Examining data/geos-3.8.1/benchmarks/operation/buffer/IteratedBufferStressTest.cpp Examining data/geos-3.8.1/benchmarks/capi/IntersectionPerfTest.cpp Examining data/geos-3.8.1/benchmarks/capi/GEOSPreparedContainsPerfTest.cpp Examining data/geos-3.8.1/benchmarks/capi/memleak_mp_prep.c Examining data/geos-3.8.1/benchmarks/algorithm/VoronoiPerfTest.cpp Examining data/geos-3.8.1/benchmarks/algorithm/InteriorPointAreaPerfTest.cpp Examining data/geos-3.8.1/benchmarks/algorithm/UnaryUnionSegmentsPerfTest.cpp Examining data/geos-3.8.1/benchmarks/ClassSizes.cpp Examining data/geos-3.8.1/doc/example.cpp Examining data/geos-3.8.1/src/geomgraph/NodeMap.cpp Examining data/geos-3.8.1/src/geomgraph/Quadrant.cpp Examining data/geos-3.8.1/src/geomgraph/GraphComponent.cpp Examining data/geos-3.8.1/src/geomgraph/TopologyLocation.cpp Examining data/geos-3.8.1/src/geomgraph/EdgeEnd.cpp Examining data/geos-3.8.1/src/geomgraph/Node.cpp Examining data/geos-3.8.1/src/geomgraph/EdgeRing.cpp Examining data/geos-3.8.1/src/geomgraph/EdgeNodingValidator.cpp Examining data/geos-3.8.1/src/geomgraph/EdgeList.cpp Examining data/geos-3.8.1/src/geomgraph/EdgeEndStar.cpp Examining data/geos-3.8.1/src/geomgraph/EdgeIntersectionList.cpp Examining data/geos-3.8.1/src/geomgraph/Label.cpp Examining data/geos-3.8.1/src/geomgraph/index/SimpleMCSweepLineIntersector.cpp Examining data/geos-3.8.1/src/geomgraph/index/SimpleSweepLineIntersector.cpp Examining data/geos-3.8.1/src/geomgraph/index/SimpleEdgeSetIntersector.cpp Examining data/geos-3.8.1/src/geomgraph/index/MonotoneChainIndexer.cpp Examining data/geos-3.8.1/src/geomgraph/index/SweepLineSegment.cpp Examining data/geos-3.8.1/src/geomgraph/index/SweepLineEvent.cpp Examining data/geos-3.8.1/src/geomgraph/index/MonotoneChainEdge.cpp Examining data/geos-3.8.1/src/geomgraph/index/SegmentIntersector.cpp Examining data/geos-3.8.1/src/geomgraph/DirectedEdgeStar.cpp Examining data/geos-3.8.1/src/geomgraph/DirectedEdge.cpp Examining data/geos-3.8.1/src/geomgraph/Depth.cpp Examining data/geos-3.8.1/src/geomgraph/GeometryGraph.cpp Examining data/geos-3.8.1/src/geomgraph/NodeFactory.cpp Examining data/geos-3.8.1/src/geomgraph/PlanarGraph.cpp Examining data/geos-3.8.1/src/geomgraph/Edge.cpp Examining data/geos-3.8.1/src/geomgraph/Position.cpp Examining data/geos-3.8.1/src/operation/valid/ConsistentAreaTester.cpp Examining data/geos-3.8.1/src/operation/valid/RepeatedPointRemover.cpp Examining data/geos-3.8.1/src/operation/valid/TopologyValidationError.cpp Examining data/geos-3.8.1/src/operation/valid/IndexedNestedRingTester.cpp Examining data/geos-3.8.1/src/operation/valid/RepeatedPointTester.cpp Examining data/geos-3.8.1/src/operation/valid/SimpleNestedRingTester.cpp Examining data/geos-3.8.1/src/operation/valid/IsValidOp.cpp Examining data/geos-3.8.1/src/operation/valid/IndexedNestedRingTester.h Examining data/geos-3.8.1/src/operation/valid/ConnectedInteriorTester.cpp Examining data/geos-3.8.1/src/operation/valid/MakeValid.cpp Examining data/geos-3.8.1/src/operation/valid/QuadtreeNestedRingTester.cpp Examining data/geos-3.8.1/src/operation/valid/SweeplineNestedRingTester.cpp Examining data/geos-3.8.1/src/operation/predicate/RectangleIntersects.cpp Examining data/geos-3.8.1/src/operation/predicate/RectangleContains.cpp Examining data/geos-3.8.1/src/operation/predicate/SegmentIntersectionTester.cpp Examining data/geos-3.8.1/src/operation/distance/IndexedFacetDistance.cpp Examining data/geos-3.8.1/src/operation/distance/ConnectedElementLocationFilter.cpp Examining data/geos-3.8.1/src/operation/distance/ConnectedElementPointFilter.cpp Examining data/geos-3.8.1/src/operation/distance/FacetSequence.cpp Examining data/geos-3.8.1/src/operation/distance/DistanceOp.cpp Examining data/geos-3.8.1/src/operation/distance/GeometryLocation.cpp Examining data/geos-3.8.1/src/operation/distance/FacetSequenceTreeBuilder.cpp Examining data/geos-3.8.1/src/operation/IsSimpleOp.cpp Examining data/geos-3.8.1/src/operation/intersection/RectangleIntersectionBuilder.cpp Examining data/geos-3.8.1/src/operation/intersection/RectangleIntersection.cpp Examining data/geos-3.8.1/src/operation/intersection/Rectangle.cpp Examining data/geos-3.8.1/src/operation/polygonize/BuildArea.cpp Examining data/geos-3.8.1/src/operation/polygonize/HoleAssigner.cpp Examining data/geos-3.8.1/src/operation/polygonize/PolygonizeGraph.cpp Examining data/geos-3.8.1/src/operation/polygonize/EdgeRing.cpp Examining data/geos-3.8.1/src/operation/polygonize/PolygonizeEdge.cpp Examining data/geos-3.8.1/src/operation/polygonize/PolygonizeDirectedEdge.cpp Examining data/geos-3.8.1/src/operation/polygonize/Polygonizer.cpp Examining data/geos-3.8.1/src/operation/GeometryGraphOperation.cpp Examining data/geos-3.8.1/src/operation/union/OverlapUnion.cpp Examining data/geos-3.8.1/src/operation/union/UnaryUnionOp.cpp Examining data/geos-3.8.1/src/operation/union/CascadedPolygonUnion.cpp Examining data/geos-3.8.1/src/operation/union/PointGeometryUnion.cpp Examining data/geos-3.8.1/src/operation/union/CoverageUnion.cpp Examining data/geos-3.8.1/src/operation/union/CascadedUnion.cpp Examining data/geos-3.8.1/src/operation/linemerge/LineMerger.cpp Examining data/geos-3.8.1/src/operation/linemerge/LineMergeEdge.cpp Examining data/geos-3.8.1/src/operation/linemerge/LineSequencer.cpp Examining data/geos-3.8.1/src/operation/linemerge/LineMergeDirectedEdge.cpp Examining data/geos-3.8.1/src/operation/linemerge/EdgeString.cpp Examining data/geos-3.8.1/src/operation/linemerge/LineMergeGraph.cpp Examining data/geos-3.8.1/src/operation/relate/RelateNode.cpp Examining data/geos-3.8.1/src/operation/relate/EdgeEndBundle.cpp Examining data/geos-3.8.1/src/operation/relate/RelateNodeFactory.cpp Examining data/geos-3.8.1/src/operation/relate/EdgeEndBuilder.cpp Examining data/geos-3.8.1/src/operation/relate/EdgeEndBundleStar.cpp Examining data/geos-3.8.1/src/operation/relate/RelateNodeGraph.cpp Examining data/geos-3.8.1/src/operation/relate/RelateOp.cpp Examining data/geos-3.8.1/src/operation/relate/RelateComputer.cpp Examining data/geos-3.8.1/src/operation/overlay/validate/OverlayResultValidator.cpp Examining data/geos-3.8.1/src/operation/overlay/validate/OffsetPointGenerator.cpp Examining data/geos-3.8.1/src/operation/overlay/validate/FuzzyPointLocator.cpp Examining data/geos-3.8.1/src/operation/overlay/LineBuilder.cpp Examining data/geos-3.8.1/src/operation/overlay/PolygonBuilder.cpp Examining data/geos-3.8.1/src/operation/overlay/OverlayNodeFactory.cpp Examining data/geos-3.8.1/src/operation/overlay/MinimalEdgeRing.cpp Examining data/geos-3.8.1/src/operation/overlay/EdgeSetNoder.cpp Examining data/geos-3.8.1/src/operation/overlay/snap/GeometrySnapper.cpp Examining data/geos-3.8.1/src/operation/overlay/snap/LineStringSnapper.cpp Examining data/geos-3.8.1/src/operation/overlay/snap/SnapOverlayOp.cpp Examining data/geos-3.8.1/src/operation/overlay/snap/SnapIfNeededOverlayOp.cpp Examining data/geos-3.8.1/src/operation/overlay/PointBuilder.cpp Examining data/geos-3.8.1/src/operation/overlay/ElevationMatrix.cpp Examining data/geos-3.8.1/src/operation/overlay/OverlayOp.cpp Examining data/geos-3.8.1/src/operation/overlay/ElevationMatrixCell.cpp Examining data/geos-3.8.1/src/operation/overlay/MaximalEdgeRing.cpp Examining data/geos-3.8.1/src/operation/sharedpaths/SharedPathsOp.cpp Examining data/geos-3.8.1/src/operation/buffer/OffsetCurveSetBuilder.cpp Examining data/geos-3.8.1/src/operation/buffer/OffsetSegmentGenerator.cpp Examining data/geos-3.8.1/src/operation/buffer/BufferSubgraph.cpp Examining data/geos-3.8.1/src/operation/buffer/BufferOp.cpp Examining data/geos-3.8.1/src/operation/buffer/OffsetCurveBuilder.cpp Examining data/geos-3.8.1/src/operation/buffer/SubgraphDepthLocater.cpp Examining data/geos-3.8.1/src/operation/buffer/BufferBuilder.cpp Examining data/geos-3.8.1/src/operation/buffer/RightmostEdgeFinder.cpp Examining data/geos-3.8.1/src/operation/buffer/BufferInputLineSimplifier.cpp Examining data/geos-3.8.1/src/operation/buffer/BufferParameters.cpp Examining data/geos-3.8.1/src/util/Profiler.cpp Examining data/geos-3.8.1/src/util/GeometricShapeFactory.cpp Examining data/geos-3.8.1/src/util/math.cpp Examining data/geos-3.8.1/src/util/Interrupt.cpp Examining data/geos-3.8.1/src/util/Assert.cpp Examining data/geos-3.8.1/src/linearref/LocationIndexOfPoint.cpp Examining data/geos-3.8.1/src/linearref/LocationIndexOfLine.cpp Examining data/geos-3.8.1/src/linearref/LinearGeometryBuilder.cpp Examining data/geos-3.8.1/src/linearref/LinearIterator.cpp Examining data/geos-3.8.1/src/linearref/LengthLocationMap.cpp Examining data/geos-3.8.1/src/linearref/LengthIndexedLine.cpp Examining data/geos-3.8.1/src/linearref/LinearLocation.cpp Examining data/geos-3.8.1/src/linearref/LengthIndexOfPoint.cpp Examining data/geos-3.8.1/src/linearref/ExtractLineByLocation.cpp Examining data/geos-3.8.1/src/io/WKTReader.cpp Examining data/geos-3.8.1/src/io/ParseException.cpp Examining data/geos-3.8.1/src/io/Unload.cpp Examining data/geos-3.8.1/src/io/WKTWriter.cpp Examining data/geos-3.8.1/src/io/ByteOrderDataInStream.cpp Examining data/geos-3.8.1/src/io/StringTokenizer.cpp Examining data/geos-3.8.1/src/io/WKBWriter.cpp Examining data/geos-3.8.1/src/io/WKBReader.cpp Examining data/geos-3.8.1/src/io/CLocalizer.cpp Examining data/geos-3.8.1/src/io/ByteOrderValues.cpp Examining data/geos-3.8.1/src/io/Writer.cpp Examining data/geos-3.8.1/src/planargraph/NodeMap.cpp Examining data/geos-3.8.1/src/planargraph/Subgraph.cpp Examining data/geos-3.8.1/src/planargraph/Node.cpp Examining data/geos-3.8.1/src/planargraph/algorithm/ConnectedSubgraphFinder.cpp Examining data/geos-3.8.1/src/planargraph/DirectedEdgeStar.cpp Examining data/geos-3.8.1/src/planargraph/DirectedEdge.cpp Examining data/geos-3.8.1/src/planargraph/PlanarGraph.cpp Examining data/geos-3.8.1/src/planargraph/Edge.cpp Examining data/geos-3.8.1/src/algorithm/InteriorPointArea.cpp Examining data/geos-3.8.1/src/algorithm/MinimumBoundingCircle.cpp Examining data/geos-3.8.1/src/algorithm/Intersection.cpp Examining data/geos-3.8.1/src/algorithm/locate/PointOnGeometryLocator.cpp Examining data/geos-3.8.1/src/algorithm/locate/SimplePointInAreaLocator.cpp Examining data/geos-3.8.1/src/algorithm/locate/IndexedPointInAreaLocator.cpp Examining data/geos-3.8.1/src/algorithm/Length.cpp Examining data/geos-3.8.1/src/algorithm/NotRepresentableException.cpp Examining data/geos-3.8.1/src/algorithm/InteriorPointPoint.cpp Examining data/geos-3.8.1/src/algorithm/PointLocation.cpp Examining data/geos-3.8.1/src/algorithm/BoundaryNodeRule.cpp Examining data/geos-3.8.1/src/algorithm/RobustDeterminant.cpp Examining data/geos-3.8.1/src/algorithm/HCoordinate.cpp Examining data/geos-3.8.1/src/algorithm/distance/DiscreteFrechetDistance.cpp Examining data/geos-3.8.1/src/algorithm/distance/DistanceToPoint.cpp Examining data/geos-3.8.1/src/algorithm/distance/DiscreteHausdorffDistance.cpp Examining data/geos-3.8.1/src/algorithm/Orientation.cpp Examining data/geos-3.8.1/src/algorithm/MinimumDiameter.cpp Examining data/geos-3.8.1/src/algorithm/PointLocator.cpp Examining data/geos-3.8.1/src/algorithm/LineIntersector.cpp Examining data/geos-3.8.1/src/algorithm/ConvexHull.cpp Examining data/geos-3.8.1/src/algorithm/Distance.cpp Examining data/geos-3.8.1/src/algorithm/Centroid.cpp Examining data/geos-3.8.1/src/algorithm/InteriorPointLine.cpp Examining data/geos-3.8.1/src/algorithm/Area.cpp Examining data/geos-3.8.1/src/algorithm/RayCrossingCounterDD.cpp Examining data/geos-3.8.1/src/algorithm/RayCrossingCounter.cpp Examining data/geos-3.8.1/src/algorithm/CGAlgorithmsDD.cpp Examining data/geos-3.8.1/src/algorithm/Angle.cpp Examining data/geos-3.8.1/src/inlines.cpp Examining data/geos-3.8.1/src/geom/DefaultCoordinateSequenceFactory.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedGeometryFactory.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPolygonIntersects.cpp Examining data/geos-3.8.1/src/geom/prep/BasicPreparedGeometry.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPolygonCovers.cpp Examining data/geos-3.8.1/src/geom/prep/AbstractPreparedPolygonContains.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedLineString.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPolygonPredicate.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedGeometry.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPolygon.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPoint.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedLineStringIntersects.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPolygonContains.cpp Examining data/geos-3.8.1/src/geom/prep/PreparedPolygonContainsProperly.cpp Examining data/geos-3.8.1/src/geom/Geometry.cpp Examining data/geos-3.8.1/src/geom/PrecisionModel.cpp Examining data/geos-3.8.1/src/geom/MultiPoint.cpp Examining data/geos-3.8.1/src/geom/util/LinearComponentExtracter.cpp Examining data/geos-3.8.1/src/geom/util/ComponentCoordinateExtracter.cpp Examining data/geos-3.8.1/src/geom/util/GeometryEditor.cpp Examining data/geos-3.8.1/src/geom/util/GeometryCombiner.cpp Examining data/geos-3.8.1/src/geom/util/PolygonExtracter.cpp Examining data/geos-3.8.1/src/geom/util/PointExtracter.cpp Examining data/geos-3.8.1/src/geom/util/CoordinateOperation.cpp Examining data/geos-3.8.1/src/geom/util/SineStarFactory.cpp Examining data/geos-3.8.1/src/geom/util/ShortCircuitedGeometryVisitor.cpp Examining data/geos-3.8.1/src/geom/util/Densifier.cpp Examining data/geos-3.8.1/src/geom/util/GeometryTransformer.cpp Examining data/geos-3.8.1/src/geom/CoordinateSequence.cpp Examining data/geos-3.8.1/src/geom/Location.cpp Examining data/geos-3.8.1/src/geom/LineSegment.cpp Examining data/geos-3.8.1/src/geom/LineString.cpp Examining data/geos-3.8.1/src/geom/Coordinate.cpp Examining data/geos-3.8.1/src/geom/GeometryCollection.cpp Examining data/geos-3.8.1/src/geom/MultiLineString.cpp Examining data/geos-3.8.1/src/geom/LinearRing.cpp Examining data/geos-3.8.1/src/geom/GeometryComponentFilter.cpp Examining data/geos-3.8.1/src/geom/Point.cpp Examining data/geos-3.8.1/src/geom/Triangle.cpp Examining data/geos-3.8.1/src/geom/IntersectionMatrix.cpp Examining data/geos-3.8.1/src/geom/Polygon.cpp Examining data/geos-3.8.1/src/geom/GeometryFactory.cpp Examining data/geos-3.8.1/src/geom/Dimension.cpp Examining data/geos-3.8.1/src/geom/CoordinateArraySequenceFactory.cpp Examining data/geos-3.8.1/src/geom/CoordinateArraySequence.cpp Examining data/geos-3.8.1/src/geom/Envelope.cpp Examining data/geos-3.8.1/src/geom/MultiPolygon.cpp Examining data/geos-3.8.1/src/index/sweepline/SweepLineInterval.cpp Examining data/geos-3.8.1/src/index/sweepline/SweepLineEvent.cpp Examining data/geos-3.8.1/src/index/sweepline/SweepLineIndex.cpp Examining data/geos-3.8.1/src/index/strtree/STRtree.cpp Examining data/geos-3.8.1/src/index/strtree/GeometryItemDistance.cpp Examining data/geos-3.8.1/src/index/strtree/BoundablePair.cpp Examining data/geos-3.8.1/src/index/strtree/EnvelopeUtil.cpp Examining data/geos-3.8.1/src/index/strtree/AbstractSTRtree.cpp Examining data/geos-3.8.1/src/index/strtree/SIRtree.cpp Examining data/geos-3.8.1/src/index/strtree/Interval.cpp Examining data/geos-3.8.1/src/index/chain/MonotoneChainOverlapAction.cpp Examining data/geos-3.8.1/src/index/chain/MonotoneChain.cpp Examining data/geos-3.8.1/src/index/chain/MonotoneChainBuilder.cpp Examining data/geos-3.8.1/src/index/chain/MonotoneChainSelectAction.cpp Examining data/geos-3.8.1/src/index/intervalrtree/IntervalRTreeBranchNode.cpp Examining data/geos-3.8.1/src/index/intervalrtree/IntervalRTreeLeafNode.cpp Examining data/geos-3.8.1/src/index/intervalrtree/SortedPackedIntervalRTree.cpp Examining data/geos-3.8.1/src/index/bintree/NodeBase.cpp Examining data/geos-3.8.1/src/index/bintree/Bintree.cpp Examining data/geos-3.8.1/src/index/bintree/Node.cpp Examining data/geos-3.8.1/src/index/bintree/Root.cpp Examining data/geos-3.8.1/src/index/bintree/Key.cpp Examining data/geos-3.8.1/src/index/bintree/Interval.cpp Examining data/geos-3.8.1/src/index/quadtree/NodeBase.cpp Examining data/geos-3.8.1/src/index/quadtree/Node.cpp Examining data/geos-3.8.1/src/index/quadtree/Root.cpp Examining data/geos-3.8.1/src/index/quadtree/DoubleBits.cpp Examining data/geos-3.8.1/src/index/quadtree/IntervalSize.cpp Examining data/geos-3.8.1/src/index/quadtree/Quadtree.cpp Examining data/geos-3.8.1/src/index/quadtree/Key.cpp Examining data/geos-3.8.1/src/triangulate/DelaunayTriangulationBuilder.cpp Examining data/geos-3.8.1/src/triangulate/quadedge/QuadEdge.cpp Examining data/geos-3.8.1/src/triangulate/quadedge/LocateFailureException.cpp Examining data/geos-3.8.1/src/triangulate/quadedge/TrianglePredicate.cpp Examining data/geos-3.8.1/src/triangulate/quadedge/QuadEdgeSubdivision.cpp Examining data/geos-3.8.1/src/triangulate/quadedge/LastFoundQuadEdgeLocator.cpp Examining data/geos-3.8.1/src/triangulate/quadedge/Vertex.cpp Examining data/geos-3.8.1/src/triangulate/VoronoiDiagramBuilder.cpp Examining data/geos-3.8.1/src/triangulate/IncrementalDelaunayTriangulator.cpp Examining data/geos-3.8.1/src/precision/SimpleGeometryPrecisionReducer.cpp Examining data/geos-3.8.1/src/precision/CommonBits.cpp Examining data/geos-3.8.1/src/precision/CommonBitsRemover.cpp Examining data/geos-3.8.1/src/precision/GeometryPrecisionReducer.cpp Examining data/geos-3.8.1/src/precision/PrecisionReducerCoordinateOperation.cpp Examining data/geos-3.8.1/src/precision/EnhancedPrecisionOp.cpp Examining data/geos-3.8.1/src/precision/CommonBitsOp.cpp Examining data/geos-3.8.1/src/precision/MinimumClearance.cpp Examining data/geos-3.8.1/src/simplify/TopologyPreservingSimplifier.cpp Examining data/geos-3.8.1/src/simplify/DouglasPeuckerSimplifier.cpp Examining data/geos-3.8.1/src/simplify/DouglasPeuckerLineSimplifier.cpp Examining data/geos-3.8.1/src/simplify/TaggedLineString.cpp Examining data/geos-3.8.1/src/simplify/TaggedLineSegment.cpp Examining data/geos-3.8.1/src/simplify/TaggedLineStringSimplifier.cpp Examining data/geos-3.8.1/src/simplify/LineSegmentIndex.cpp Examining data/geos-3.8.1/src/simplify/TaggedLinesSimplifier.cpp Examining data/geos-3.8.1/src/noding/MCIndexNoder.cpp Examining data/geos-3.8.1/src/noding/SegmentNode.cpp Examining data/geos-3.8.1/src/noding/SegmentNodeList.cpp Examining data/geos-3.8.1/src/noding/IntersectionAdder.cpp Examining data/geos-3.8.1/src/noding/Octant.cpp Examining data/geos-3.8.1/src/noding/snapround/SimpleSnapRounder.cpp Examining data/geos-3.8.1/src/noding/snapround/MCIndexSnapRounder.cpp Examining data/geos-3.8.1/src/noding/snapround/HotPixel.cpp Examining data/geos-3.8.1/src/noding/snapround/MCIndexPointSnapper.cpp Examining data/geos-3.8.1/src/noding/SegmentIntersectionDetector.cpp Examining data/geos-3.8.1/src/noding/ScaledNoder.cpp Examining data/geos-3.8.1/src/noding/BasicSegmentString.cpp Examining data/geos-3.8.1/src/noding/SegmentString.cpp Examining data/geos-3.8.1/src/noding/IntersectionFinderAdder.cpp Examining data/geos-3.8.1/src/noding/FastNodingValidator.cpp Examining data/geos-3.8.1/src/noding/GeometryNoder.cpp Examining data/geos-3.8.1/src/noding/IteratedNoder.cpp Examining data/geos-3.8.1/src/noding/OrientedCoordinateArray.cpp Examining data/geos-3.8.1/src/noding/SegmentStringUtil.cpp Examining data/geos-3.8.1/src/noding/FastSegmentSetIntersectionFinder.cpp Examining data/geos-3.8.1/src/noding/NodingValidator.cpp Examining data/geos-3.8.1/src/noding/NodingIntersectionFinder.cpp Examining data/geos-3.8.1/src/noding/MCIndexSegmentSetMutualIntersector.cpp Examining data/geos-3.8.1/src/noding/NodedSegmentString.cpp Examining data/geos-3.8.1/src/noding/SimpleNoder.cpp FINAL RESULTS: data/geos-3.8.1/capi/geos_ts_c.cpp:244:22: [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. int result = vsnprintf(msgBuffer, sizeof(msgBuffer) - 1, fmt.c_str(), args); data/geos-3.8.1/capi/geos_ts_c.cpp:266:22: [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. int result = vsnprintf(msgBuffer, sizeof(msgBuffer) - 1, fmt.c_str(), args); data/geos-3.8.1/capi/geos_ts_c.cpp:3647:9: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(version, "%s", GEOS_CAPI_VERSION); data/geos-3.8.1/swig/python/geos_wrap.cxx:675: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(r,name); data/geos-3.8.1/swig/python/geos_wrap.cxx:815:25: [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 PyOS_snprintf _snprintf data/geos-3.8.1/swig/python/geos_wrap.cxx:817:25: [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 PyOS_snprintf snprintf data/geos-3.8.1/swig/python/geos_wrap.cxx:834:9: [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. res = vsnprintf(buf, sizeof(buf), fmt, ap); data/geos-3.8.1/swig/python/geos_wrap.cxx:3530:5: [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. vsnprintf(message, sizeof(message) - 1, fmt, args); data/geos-3.8.1/swig/python/geos_wrap.cxx:3538:5: [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. vsnprintf(message, sizeof(message) - 1, fmt, args); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:779: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(r,name); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1508:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(klass_name, "TYPE%s", type->name); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1564:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(klass_name, "TYPE%s", type->name); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1699: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(r, type->name); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2597:5: [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. vsnprintf(message, sizeof(message) - 1, fmt, args); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2605:5: [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. vsnprintf(message, sizeof(message) - 1, fmt, args); data/geos-3.8.1/tests/geostest/geostest.c:41:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/geostest/geostest.c:53:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/badthreadtest.c:43:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/badthreadtest.c:55:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/badthreadtest.c:67:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/badthreadtest.c:79:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/badthreadtest.c:92:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/badthreadtest.c:105:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/threadtest.c:43:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/threadtest.c:55:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/threadtest.c:67:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/threadtest.c:80:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/thread/threadtest.c:93:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSBufferTest.cpp:34:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSBuildAreaTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSClipByRectTest.cpp:32:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSContainsTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSConvexHullTest.cpp:29:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSCoordSeqTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSCoverageUnionTest.cpp:26:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSDelaunayTriangulationTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSDistanceTest.cpp:34:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSEqualsTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSFrechetDistanceTest.cpp:33:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeomFromWKBTest.cpp:33:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeomToWKTTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeom_createCollectionTest.cpp:36:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeom_createTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeom_extentTest.cpp:21:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeom_extractUniquePointsTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGeom_setPrecisionTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSGetCentroidTest.cpp:34:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSHausdorffDistanceTest.cpp:33:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSInterpolateTest.cpp:28:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSInterruptTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSIntersectionTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSIntersectsTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSLineString_PointTest.cpp:28:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSMakeValidTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSMinimumBoundingCircleTest.cpp:35:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSMinimumClearanceTest.cpp:25:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSMinimumRectangleTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSMinimumWidthTest.cpp:29:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSNearestPointsTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSNodeTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSOffsetCurveTest.cpp:33:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSOrientationIndexTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSPointOnSurfaceTest.cpp:34:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSPolygonizeTest.cpp:27:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSPreparedGeometryTest.cpp:37:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSRelateBoundaryNodeRuleTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSRelatePatternMatchTest.cpp:27:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSReverseTest.cpp:25:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSSTRtreeTest.cpp:60:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSSegmentIntersectionTest.cpp:25:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSSharedPathsTest.cpp:32:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSSimplifyTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSSnapTest.cpp:32:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSUnaryUnionTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSUserDataTest.cpp:29:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSVoronoiDiagramTest.cpp:31:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSWithinTest.cpp:29:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSisClosedTest.cpp:30:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/unit/capi/GEOSisValidDetailTest.cpp:33:14: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. std::vfprintf(stdout, fmt, ap); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:63:25: [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 TIXML_SNPRINTF _snprintf data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:65:23: [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. #define TIXML_SSCANF sscanf data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:92:25: [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 TIXML_SNPRINTF snprintf data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:93:26: [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 TIXML_VSNPRINTF vsnprintf data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:96:13: [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. int len = vsnprintf( 0, 0, format, va ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:100:25: [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. #define TIXML_SSCANF sscanf data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2444:9: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf( _fp, format, va ); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1525: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(paths, envPaths); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1554:9: [4] (shell) execlp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execlp(fileOpen, fileOpen, htmlFilePath.c_str(), nullptr); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2601: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(sess, path.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2650:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(msg, data.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:4269: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(pTextOut, out.str().c_str()); data/geos-3.8.1/tests/unit/capi/GEOSDistanceTest.cpp:120: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(12345); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1198:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* env = getenv("USERPROFILE"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1222:31: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any 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* envPath = getenv(envPaths[i]); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1281:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* currdir = getenv("PWD"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1389:5: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. realpath(relativePath.c_str(), fullPath); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1476:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* env = getenv("HOME"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1520: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. const char* envPaths = getenv("PATH"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2417: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. char* env = getenv("ARTISTIC_STYLE_OPTIONS"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2428: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. char* env = getenv("HOME"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2439: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. char* env = getenv("APPDATA"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2452: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. char* env = getenv("USERPROFILE"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2473:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* env = getenv("ARTISTIC_STYLE_PROJECT_OPTIONS"); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2686:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char* env = getenv("USERPROFILE"); data/geos-3.8.1/benchmarks/algorithm/UnaryUnionSegmentsPerfTest.cpp:65:27: [2] (integer) atol: 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). auto num_lines = std::atol(argv[1]); data/geos-3.8.1/benchmarks/algorithm/UnaryUnionSegmentsPerfTest.cpp:66:37: [2] (integer) atol: 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). auto num_reps = argc > 2 ? std::atol(argv[2]) : 1; data/geos-3.8.1/benchmarks/capi/GEOSPreparedContainsPerfTest.cpp:90: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 n = std::atoi(argv[2]); data/geos-3.8.1/benchmarks/capi/IntersectionPerfTest.cpp:39:26: [2] (integer) atol: 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). max_geoms = std::atol(argv[2]); data/geos-3.8.1/capi/geos_ts_c.cpp:161: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 msgBuffer[1024]; data/geos-3.8.1/capi/geos_ts_c.cpp:311: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(out, str, size + 1); data/geos-3.8.1/capi/geos_ts_c.cpp:1396:22: [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(result, wkbstring.c_str(), len); data/geos-3.8.1/capi/geos_ts_c.cpp:3080: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 buf[256]; data/geos-3.8.1/capi/geos_ts_c.cpp:3081: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(buf, "createCollection: requested type %d", type); data/geos-3.8.1/capi/geos_ts_c.cpp:3134: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 buf[256]; data/geos-3.8.1/capi/geos_ts_c.cpp:3135: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(buf, "PostGIS2GEOS_collection: requested type %d, ngeoms: %d", data/geos-3.8.1/capi/geos_ts_c.cpp:3646: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 version[256]; data/geos-3.8.1/capi/geos_ts_c.cpp:5319:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(result, wkbstring.c_str(), len); data/geos-3.8.1/capi/geos_ts_c.cpp:5358:18: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(result, wkbstring.c_str(), len); data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathparser.h:1424:1: [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[30]; // char, not wchar_t data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathparser.h:1432:2: [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(buf, "%d", par); data/geos-3.8.1/include/geos/algorithm/ttmath/ttmathparser.h:1470: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[30]; data/geos-3.8.1/include/geos/algorithm/ttmath/ttmaththreads.h:97:4: [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, "TTMATH_LOCK_%ul", (unsigned long)GetCurrentProcessId()); data/geos-3.8.1/include/geos/algorithm/ttmath/ttmaththreads.h:109: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[50]; data/geos-3.8.1/include/geos/io/ByteOrderDataInStream.h:70: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. unsigned char buf[8]; data/geos-3.8.1/include/geos/io/WKBWriter.h:184: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. unsigned char buf[8]; data/geos-3.8.1/src/index/quadtree/DoubleBits.cpp:52: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(&ret, &bits, sizeof(int64)); data/geos-3.8.1/src/index/quadtree/DoubleBits.cpp:101: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(&xBits, &nx, sizeof(double)); data/geos-3.8.1/src/io/ByteOrderValues.cpp:133: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(&ret, &longValue, sizeof(double)); data/geos-3.8.1/src/io/ByteOrderValues.cpp:141: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(&longValue, &doubleValue, sizeof(double)); data/geos-3.8.1/swig/python/geos_wrap.cxx:626: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 const char hex[17] = "0123456789abcdef"; data/geos-3.8.1/swig/python/geos_wrap.cxx:787: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(newstr, cstr, len+1); data/geos-3.8.1/swig/python/geos_wrap.cxx:831: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[SWIG_PYBUFFER_SIZE * 2]; data/geos-3.8.1/swig/python/geos_wrap.cxx:1619: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 result[SWIG_BUFFER_SIZE]; data/geos-3.8.1/swig/python/geos_wrap.cxx:2008: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 result[SWIG_BUFFER_SIZE]; data/geos-3.8.1/swig/python/geos_wrap.cxx:2022: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 result[SWIG_BUFFER_SIZE]; data/geos-3.8.1/swig/python/geos_wrap.cxx:2033: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 result[SWIG_BUFFER_SIZE]; data/geos-3.8.1/swig/python/geos_wrap.cxx:2167: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(pack, ptr, size); data/geos-3.8.1/swig/python/geos_wrap.cxx:2185: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(ptr, sobj->pack, size); data/geos-3.8.1/swig/python/geos_wrap.cxx:2813: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 mesg[256]; data/geos-3.8.1/swig/python/geos_wrap.cxx:3524:8: [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 message[MESSAGE_SIZE]; data/geos-3.8.1/swig/python/geos_wrap.cxx:3853:40: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:730: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 const char hex[17] = "0123456789abcdef"; data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1102: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[128]; data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1115: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( buf, "%d of type ", argn-1 ); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1694: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 result[1024]; data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2591:8: [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 message[MESSAGE_SIZE]; data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2920:38: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. *cptr = reinterpret_cast< char* >(memcpy((new char[size]), cstr, sizeof(char)*(size))); data/geos-3.8.1/tests/geostest/geostest.c:147: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 wkt[MAXWKTLEN]; data/geos-3.8.1/tests/geostest/geostest.c:154: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). input = fopen(inputfile, "r"); data/geos-3.8.1/tests/geostest/geostest.c:380: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). if ( argc > 2 ) n=atoi(argv[2]); data/geos-3.8.1/tests/thread/badthreadtest.c:199: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 wkt[MAXWKTLEN]; data/geos-3.8.1/tests/thread/badthreadtest.c:206: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). input = fopen(inputfile, "r"); data/geos-3.8.1/tests/thread/threadtest.c:197: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 wkt[MAXWKTLEN]; data/geos-3.8.1/tests/thread/threadtest.c:204: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). input = fopen(inputfile, "r"); data/geos-3.8.1/tests/unit/geos_unit.cpp:101:54: [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). tut::runner.get().run_test(grpname, std::atoi(argv[2]), result); data/geos-3.8.1/tests/unit/io/ByteOrderValuesTest.cpp:40: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. unsigned char buf[4]; data/geos-3.8.1/tests/unit/io/ByteOrderValuesTest.cpp:73: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. unsigned char buf[8]; data/geos-3.8.1/tests/unit/io/ByteOrderValuesTest.cpp:116: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. unsigned char buf[8]; data/geos-3.8.1/tests/unit/tut/tut_assert.hpp:268: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 e[512]; data/geos-3.8.1/tests/unit/tut/tut_posix.hpp:264: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. char e[1024]; data/geos-3.8.1/tests/unit/tut/tut_posix.hpp:295: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 e[1024]; data/geos-3.8.1/tests/unit/tut/tut_posix.hpp:380: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[1024]; data/geos-3.8.1/tests/xmltester/XMLTester.cpp:1353:49: [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). params.setQuadrantSegments(std::atoi(opArg3.c_str())); data/geos-3.8.1/tests/xmltester/XMLTester.cpp:1393:49: [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). params.setQuadrantSegments(std::atoi(opArg3.c_str())); data/geos-3.8.1/tests/xmltester/XMLTester.cpp:1440:49: [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). params.setQuadrantSegments(std::atoi(opArg3.c_str())); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:187: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( _start, str, len+1 ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:311:25: [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[buflen] = { 0 }; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:323:29: [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( q, buf, len ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1376: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 endTag[2] = { *p, 0 }; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1452: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1460: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1468:2: [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[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1477: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1484: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1491: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1602: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1610: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1618:2: [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[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1626: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1634: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1642: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2144: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( filepath, mode ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2298: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( _charBuffer, p, len ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2467: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( p, data, size ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2595: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2603: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2611:2: [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[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2619: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2627: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2688: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2695: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2703: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2711: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2719: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2727: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 buf[BUF_SIZE]; data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.h:307: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( newMem, _mem, sizeof(T)*_size ); // warning: not using constructors, only works for PODs data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.h:443: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 itemData[ITEM_SIZE]; data/geos-3.8.1/tools/astyle/ASLocalizer.cpp:123:2: [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 canonicalLang[3]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:1043: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 currdir[MAX_PATH]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:1135: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 fullPath[MAX_PATH]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:1388: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 fullPath[PATH_MAX]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:2492: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 buf[4]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:2519: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 buf[4]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:2590: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 less[NAML$C_MAXRSS]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:2591: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 sess[NAM$C_MAXRSS]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:2668: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[20]; data/geos-3.8.1/tools/astyle/astyle_main.cpp:3166: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). spaceNum = atoi(spaceNumParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3183: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). spaceNum = atoi(spaceNumParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3200: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). tabNum = atoi(tabNumParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3217: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). spaceNum = atoi(spaceNumParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3234: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). contIndent = atoi(contIndentParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3247:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). minIndent = atoi(minIndentParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3258:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxIndent = atoi(maxIndentParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3417:21: [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). align = atoi(styleParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3448:21: [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). align = atoi(styleParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3465:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxLength = atoi(maxLengthParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3478:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxLength = atoi(maxLengthParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3605:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). maxIndent = atoi(maxIndentParam.c_str()); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3691: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). lineendType = atoi(lineendParam.c_str()); data/geos-3.8.1/benchmarks/operation/buffer/IteratedBufferStressTest.cpp:87:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr base(rdr.read(inputWKT)); data/geos-3.8.1/capi/geos_ts_c.cpp:1328:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = r.read(wktstring); data/geos-3.8.1/capi/geos_ts_c.cpp:1431:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = r.read(is); data/geos-3.8.1/capi/geos_ts_c.cpp:4872:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return reader->read(wktstring).release(); data/geos-3.8.1/capi/geos_ts_c.cpp:5183:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return reader->read(is).release(); data/geos-3.8.1/doc/example.cpp:163:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). gout = wkbReader.read(s).release(); data/geos-3.8.1/include/geos/geom/Geometry.h:889:10: [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 Coordinate& a, const Coordinate& b, data/geos-3.8.1/include/geos/io/WKBReader.h:96:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<geom::Geometry> read(std::istream& is); data/geos-3.8.1/include/geos/io/WKTReader.h:84:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<geom::Geometry> read(const std::string& wellKnownText); data/geos-3.8.1/src/geom/Geometry.cpp:862: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. Geometry::equal(const Coordinate& a, const Coordinate& b, data/geos-3.8.1/src/geom/LineString.cpp:275:13: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if(!equal(points->getAt(i), otherLineString->points->getAt(i), tolerance)) { data/geos-3.8.1/src/geom/Point.cpp:277:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. return equal(*this_coord, *other_coord, tolerance); data/geos-3.8.1/src/io/WKBReader.cpp:63:14: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while(is.read(&each, 1)) { data/geos-3.8.1/src/io/WKBReader.cpp:164:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return this->read(os); data/geos-3.8.1/src/io/WKBReader.cpp:168:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). WKBReader::read(istream& is) data/geos-3.8.1/src/io/WKTReader.cpp:63:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). WKTReader::read(const string& wellKnownText) data/geos-3.8.1/swig/python/geos_wrap.cxx:390: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). const char* te = tb + strlen(tb); data/geos-3.8.1/swig/python/geos_wrap.cxx:674:7: [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(name) + 1 > (bsz - (r - buff))) return 0; data/geos-3.8.1/swig/python/geos_wrap.cxx:695: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). size_t lname = (name ? strlen(name) : 0); data/geos-3.8.1/swig/python/geos_wrap.cxx:700:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(r,name,lname+1); data/geos-3.8.1/swig/python/geos_wrap.cxx:868:91: [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). # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} data/geos-3.8.1/swig/python/geos_wrap.cxx:3148: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. virtual bool equal (const SwigPyIterator &/*x*/) const data/geos-3.8.1/swig/python/geos_wrap.cxx:3187: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. return equal(x); data/geos-3.8.1/swig/python/geos_wrap.cxx:3514:48: [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). return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); data/geos-3.8.1/swig/python/geos_wrap.cxx:3878: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 (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0; data/geos-3.8.1/swig/python/geos_wrap.cxx:4686:58: [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. result = (bool)((swig::SwigPyIterator const *)arg1)->equal((swig::SwigPyIterator const &)*arg2); data/geos-3.8.1/swig/python/geos_wrap.cxx:10853: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). size_t size = strlen(name)+1; data/geos-3.8.1/swig/python/geos_wrap.cxx:10856:9: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(gv->name,name,size); data/geos-3.8.1/swig/python/geos_wrap.cxx:10918:15: [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). strlen(const_table[j].name)) == 0) { data/geos-3.8.1/swig/python/geos_wrap.cxx:10929: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). size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; data/geos-3.8.1/swig/python/geos_wrap.cxx:10933:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(buff, methods[i].ml_doc, ldoc); data/geos-3.8.1/swig/python/geos_wrap.cxx:10935:15: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(buff, "swig_ptr: ", 10); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:494: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). const char* te = tb + strlen(tb); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:778:7: [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(name) + 1 > (bsz - (r - buff))) return 0; data/geos-3.8.1/swig/ruby/geos_wrap.cxx:799: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). size_t lname = (name ? strlen(name) : 0); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:804:5: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(r,name,lname+1); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:860:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #ifdef read data/geos-3.8.1/swig/ruby/geos_wrap.cxx:861:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # undef read data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1507: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). char *klass_name = (char *) malloc(4 + strlen(type->name) + 1); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1563: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). klass_name = (char *) malloc(4 + strlen(type->name) + 1); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:1696: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). if ((2*sz + 1 + strlen(type->name)) > 1000) return 0; data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2184: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. virtual bool equal (const ConstIterator &x) const data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2257: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. return equal(x); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2378: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. return equal(x); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2581:48: [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). return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0)); data/geos-3.8.1/swig/ruby/geos_wrap.cxx:2935: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 (psize) *psize = vptr ? (strlen((char*)vptr) + 1) : 0; data/geos-3.8.1/tests/unit/algorithm/AreaTest.cpp:52:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<Geometry> lineGeom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/AreaTest.cpp:70:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<Geometry> lineGeom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp:49:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isCCWTest.cpp:62:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isCCWTest.cpp:77:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isCCWTest.cpp:92:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isPointInRingTest.cpp:57:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/isPointInRingTest.cpp:76:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/signedAreaTest.cpp:61:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/signedAreaTest.cpp:76:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/CGAlgorithms/signedAreaTest.cpp:91:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:67:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr lineGeom(reader_.read("LINESTRING (30 220, 240 220, 240 220)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:71:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr hullGeom(reader_.read("LINESTRING (30 220, 240 220)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:87:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read("MULTIPOINT (130 240, 130 240, 130 240, 570 240, 570 240, 570 240, 650 240)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:90:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr hullGeom(reader_.read("LINESTRING (130 240, 650 240)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:106:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read("MULTIPOINT (0 0, 0 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:109:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr hullGeom(reader_.read("LINESTRING (0 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:125:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read("MULTIPOINT (0 0, 10 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:128:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr hullGeom(reader_.read("LINESTRING (0 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:144:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read("MULTIPOINT (0 0, 5 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:147:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr hullGeom(reader_.read("LINESTRING (0 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:163:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read("MULTIPOINT (0 0, 5 1, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:169:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr expectedHull(reader_.read("POLYGON ((0 0, 5 1, 10 0, 0 0))")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:183:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr geom(reader_.read("MULTIPOINT (0 0, 0 0, 5 0, 5 0, 10 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/ConvexHullTest.cpp:186:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Geometry::Ptr hullGeom(reader_.read("LINESTRING (0 0, 10 0)")); data/geos-3.8.1/tests/unit/algorithm/InteriorPointAreaTest.cpp:69:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = reader.read("POLYGON((6 54, 15 54, 6 47, 15 47, 6 54))"); data/geos-3.8.1/tests/unit/algorithm/LengthTest.cpp:52:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<Geometry> lineGeom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/LocatePointInRingTest.cpp:56:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<Geometry> geom(reader.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/LocatePointInRingTest.cpp:67:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<Geometry> geom(reader.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/MinimumBoundingCircleTest.cpp:58:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = reader.read(wktIn); data/geos-3.8.1/tests/unit/algorithm/MinimumBoundingCircleTest.cpp:65:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geomOut = reader.read(wktOut); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:66:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("POLYGON ((0 0, 0 20, 20 20, 20 0, 0 0))")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:73:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("POLYGON ((0 0, 20 0, 20 20, 0 20, 0 0))")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:85:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("POLYGON ((0 5, 5 10, 10 5, 5 0, 0 5))")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:92:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("POLYGON ((5 0, 10 5, 5 10, 0 5, 5 0))")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:104:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:111:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:123:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("Point(1 2)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:130:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("Point(1 2)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:142:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("LineString(1 2, 2 4)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:149:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("LineString(1 2, 2 4)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:161:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("POINT (0 240)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:167:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("LineString (0 240, 0 240)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:179:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("LINESTRING (0 240, 220 240)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:185:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("LINESTRING (0 240, 0 240)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:197:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("POLYGON ((0 240, 220 240, 220 0, 0 0, 0 240))")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:203:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("LINESTRING (0 0, 220 0)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:215:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_geom(reader.read("POLYGON ((0 240, 160 140, 220 0, 0 0, 0 240))")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:221:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("LINESTRING (185.86206896551724 79.65517241379311, 0 0)")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:234:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). reader.read("LINESTRING ( 39 119, 162 197, 135 70, 95 35, 33 66, 111 82, 97 131, 48 160, -4 182, 57 195, 94 202, 90 174, 75 134, 47 114, 0 100, 59 81, 123 60, 136 43, 163 75, 145 114, 93 136, 92 159, 105 175 )")); data/geos-3.8.1/tests/unit/algorithm/MinimumDiameterTest.cpp:240:33: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedGeom(reader.read("LINESTRING (64.46262341325811 196.41184767277855, 95 35)")); data/geos-3.8.1/tests/unit/algorithm/PointLocatorTest.cpp:53:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(reader.read(wkt)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:119:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:120:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:137:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(reader.read(expectedWKT)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:158:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:159:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:185:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:186:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:210:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/RobustLineIntersectionTest.cpp:211:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteFrechetDistanceTest.cpp:52:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteFrechetDistanceTest.cpp:53:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteFrechetDistanceTest.cpp:65:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteFrechetDistanceTest.cpp:66:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteHausdorffDistanceTest.cpp:53:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteHausdorffDistanceTest.cpp:54:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteHausdorffDistanceTest.cpp:66:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(wkt1)); data/geos-3.8.1/tests/unit/algorithm/distance/DiscreteHausdorffDistanceTest.cpp:67:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read(wkt2)); data/geos-3.8.1/tests/unit/capi/GEOSEqualsTest.cpp:158:60: [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). geom1_ = GEOSGeomFromHEX_buf((unsigned char*)hex, std::strlen(hex)); data/geos-3.8.1/tests/unit/capi/GEOSIntersectsTest.cpp:158:60: [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). geom1_ = GEOSGeomFromHEX_buf((unsigned char*)hex, std::strlen(hex)); data/geos-3.8.1/tests/unit/capi/GEOSUnaryUnionTest.cpp:217:69: [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). geom1_ = GEOSGeomFromHEX_buf((const unsigned char*)hexwkb, std::strlen(hexwkb)); data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:47:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:64:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:81:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:98:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:115:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:132:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/cloneTest.cpp:147:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:49:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:52:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:67:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:70:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:86:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:89:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:97:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g2 = reader.read("POINT(0 2)"); data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:111:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/coversTest.cpp:114:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/equalsTest.cpp:46:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read("POINT EMPTY")); data/geos-3.8.1/tests/unit/geom/Geometry/equalsTest.cpp:49:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read("LINESTRING EMPTY")); data/geos-3.8.1/tests/unit/geom/Geometry/equalsTest.cpp:53:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g3(reader.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/geom/Geometry/equalsTest.cpp:58:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g4(reader.read("GEOMETRYCOLLECTION EMPTY")); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:41:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:55:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:70:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:84:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:98:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:112:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/isRectangleTest.cpp:126:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = reader.read(wkt); data/geos-3.8.1/tests/unit/geom/Geometry/normalizeTest.cpp:36:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read(from)); data/geos-3.8.1/tests/unit/geom/Geometry/normalizeTest.cpp:42:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr ge(reader.read(exp)); data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:51:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:55:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:69:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:73:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:87:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:91:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:105:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(reader.read( data/geos-3.8.1/tests/unit/geom/Geometry/touchesTest.cpp:109:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(reader.read( data/geos-3.8.1/tests/unit/geom/GeometryCollectionTest.cpp:25:61: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return std::unique_ptr<geos::geom::Geometry>(reader.read(wkt)); data/geos-3.8.1/tests/unit/geom/GeometryComponentFilterTest.cpp:75:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g(reader.read("GEOMETRYCOLLECTION(" data/geos-3.8.1/tests/unit/geom/GeometryComponentFilterTest.cpp:134:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g(reader.read("GEOMETRYCOLLECTION(" data/geos-3.8.1/tests/unit/geom/GeometryComponentFilterTest.cpp:163:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g(reader.read("POLYGON((0 0, 100 0, 100 100, 0 100, 0 0)," // 5 pt exterior ring data/geos-3.8.1/tests/unit/geom/GeometryFactoryTest.cpp:733:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read(("LINEARRING(7 7, 12 7, 12 12, 7 12, 7 7)")); data/geos-3.8.1/tests/unit/geom/GeometryFilterTest.cpp:45:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g(reader.read("GEOMETRYCOLLECTION(" data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:323:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:341:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:359:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:378:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:397:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:409:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:421:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:434:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:448:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 10 10, 20 0)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:463:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 10 10, 20 0)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:475:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINESTRING (0 0, 10 10, 20 0)"); data/geos-3.8.1/tests/unit/geom/LineStringTest.cpp:510:55: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<geos::geom::Geometry> geo(reader_.read("LINESTRING (0 0, 10 10, 20 0))")); data/geos-3.8.1/tests/unit/geom/LinearRingTest.cpp:56:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geo = reader_.read("LINEARRING(0 10, 5 5, 10 5, 15 10, 10 15, 5 15, 0 10)").release(); data/geos-3.8.1/tests/unit/geom/LinearRingTest.cpp:399:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINEARRING(0 0, 5 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/LinearRingTest.cpp:417:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("LINEARRING(0 0, 5 5, 10 10, 15 5, 5 5, 0 10)"); data/geos-3.8.1/tests/unit/geom/MultiLineStringTest.cpp:23:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). empty_mls_ = reader_.read("MULTILINESTRING EMPTY"); data/geos-3.8.1/tests/unit/geom/MultiLineStringTest.cpp:24:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mls_ = reader_.read("MULTILINESTRING ((0 0, 1 1), (3 3, 4 4))"); data/geos-3.8.1/tests/unit/geom/MultiPointTest.cpp:43:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("MULTIPOINT(0 0, 5 5, 10 10, 15 15, 20 20)"); data/geos-3.8.1/tests/unit/geom/MultiPointTest.cpp:109:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("MULTIPOINT EMPTY"); data/geos-3.8.1/tests/unit/geom/MultiPointTest.cpp:377:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("MULTIPOINT(0 0, 5)"); data/geos-3.8.1/tests/unit/geom/MultiPolygonTest.cpp:22:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). empty_mp_ = reader_.read("MULTIPOLYGON EMPTY"); data/geos-3.8.1/tests/unit/geom/MultiPolygonTest.cpp:23:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). mp_ = reader_.read("MULTIPOLYGON (((1 1, 2 1, 2 2, 1 1)))"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:50:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("POINT(1.234 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:406:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.234 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:407:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(1.234 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:418:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.23 5.67)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:419:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(1.23 5.67)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:430:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.235 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:431:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(1.234 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:442:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.2334 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:443:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(1.2333 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:454:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.2334 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:455:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(1.2335 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:466:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.2324 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:467:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(1.2325 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:478:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(1.2324 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:479:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT EMPTY"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:490:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto pLo = reader_.read("POINT(-1.233 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:491:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto pHi = reader_.read("POINT(-1.232 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:493:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p1 = reader_.read("POINT(-1.2326 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:494:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p2 = reader_.read("POINT(-1.2325 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:495:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p3 = reader_.read("POINT(-1.2324 5.678)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:511:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto p = reader_.read("POINT(-1.233 5.678 1.0)"); data/geos-3.8.1/tests/unit/geom/PointTest.cpp:515:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). p = reader_.read("POINT(-1.233 5.678)"); data/geos-3.8.1/tests/unit/geom/PolygonTest.cpp:52:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("POLYGON((0 10, 5 5, 10 5, 15 10, 10 15, 5 15, 0 10))"); data/geos-3.8.1/tests/unit/geom/PolygonTest.cpp:435:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geo = reader_.read("POLYGON ((0 0, 100 0, 100 100, 0 100, 0 0), (1 1, 1 10, 10 10, 10 1, 1 1) )"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:60:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g1 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:63:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g2 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:79:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g1 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:82:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g2 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:98:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g1 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:101:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g2 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:117:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g1 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometry/touchesTest.cpp:120:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g2 = reader.read( data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:326:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("POINT(1.234 5.678)"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:341:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("POINT(1.234 5.678)"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:357:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:372:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("LINESTRING (0 0, 5 5, 10 5, 10 10)"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:388:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("POLYGON((0 10, 5 5, 10 5, 15 10, 10 15, 5 15, 0 10))"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:403:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("POLYGON((0 10, 5 5, 10 5, 15 10, 10 15, 5 15, 0 10))"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:419:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("MULTIPOINT(0 0, 5 5, 10 10, 15 15, 20 20)"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:434:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("MULTIPOINT(0 0, 5 5, 10 10, 15 15, 20 20)"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:450:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("MULTILINESTRING ((20 120, 120 20), (20 20, 120 120))"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:465:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("MULTILINESTRING ((20 120, 120 20), (20 20, 120 120))"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:481:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("MULTIPOLYGON(((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 2 6, 6 4, 2 2)),((60 60, 60 50, 70 40, 60 60)))"); data/geos-3.8.1/tests/unit/geom/prep/PreparedGeometryFactoryTest.cpp:496:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g_ = reader_.read("MULTIPOLYGON(((0 0, 10 0, 10 10, 0 10, 0 0),(2 2, 2 6, 6 4, 2 2)),((60 60, 60 50, 70 40, 60 60)))"); data/geos-3.8.1/tests/unit/geom/util/GeometryExtracterTest.cpp:63:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT(-117 33)")); data/geos-3.8.1/tests/unit/geom/util/GeometryExtracterTest.cpp:84:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). wktreader.read("GEOMETRYCOLLECTION(POINT(-117 33),LINESTRING(0 0, 10 0),POINT(0 0),POLYGON((0 0, 10 0, 10 10, 0 10, 0 0)),LINESTRING(10 0, 23 30),POINT(20 20))")); data/geos-3.8.1/tests/unit/io/WKBReaderTest.cpp:56:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr gWKT(wktreader.read(WKT)); data/geos-3.8.1/tests/unit/io/WKBReaderTest.cpp:68:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr gWKT(wktreader.read(WKT)); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:60:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geom = wktreader.read("POINT(-117 33)"); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:69:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = wkbreader.read(result_stream); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:85:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geom = wktreader.read("POINT(-117 33 11)"); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:94:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = wkbreader.read(result_stream); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:108:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geom = wktreader.read("POINT(-117 33 11)"); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:117:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = wkbreader.read(result_stream); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:135:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geoms->push_back(wktreader.read("POLYGON((0 0,1 0,1 1,0 1,0 0))").release()); data/geos-3.8.1/tests/unit/io/WKBWriterTest.cpp:160:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto geom = wktreader.read("POLYGON EMPTY"); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:60:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT(-117 33)")); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:74:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT(-117 33 10)")); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:87:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("LINESTRING(-117 33, -116 34)")); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:99:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("LINESTRING ZM (-117 33 2 3, -116 34 4 5)")); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:114:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("LineString (-117 33 2, -116 34 4)")); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:128:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = wktreader.read("POLYGON( EMPTY, (1 1,2 2,1 2,1 1))"); data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:156:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = wktReader.read(str); //HERE IT FAILS data/geos-3.8.1/tests/unit/io/WKTReaderTest.cpp:187:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). wktreader.read(wkt[i]); data/geos-3.8.1/tests/unit/io/WKTWriterTest.cpp:60:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT(-117 33)")); data/geos-3.8.1/tests/unit/io/WKTWriterTest.cpp:80:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT(-117.1234567 33.1234567)")); data/geos-3.8.1/tests/unit/io/WKTWriterTest.cpp:101:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT Z (-117 33 120)")); data/geos-3.8.1/tests/unit/io/WKTWriterTest.cpp:125:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader.read("POINT(-117 33 120)")); data/geos-3.8.1/tests/unit/io/WKTWriterTest.cpp:146:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr geom(wktreader3.read("POINT(123456 654321)")); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:48:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr subLine(reader.read(expected)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:62:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr input(reader.read(inputStr)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:63:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr subLine(reader.read(subLineStr)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:97:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr input(reader.read(inputStr)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:98:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr testPoint(reader.read(testPtWKT)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:108:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr input(reader.read(inputWKT)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:109:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr testPoint(reader.read(testPtWKT)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:110:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expectedPoint(reader.read(expectedPtWKT)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:134:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read(wktstr)); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:391:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read("LINESTRING (0 0, 10 10)")); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:406:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read("LINESTRING (0 0, 10 0, 10 0, 20 0)")); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:422:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read("LINESTRING (0 0 0, 10 10 10)")); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:441:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read("LINESTRING (0 0, 10 10 10)")); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:457:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read("MULTILINESTRING ((0 2, 0 0), (-1 1, 1 1))")); data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:502:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read( data/geos-3.8.1/tests/unit/linearref/LengthIndexedLineTest.cpp:524:31: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr linearGeom(reader.read("LINESTRING EMPTY")); data/geos-3.8.1/tests/unit/noding/OrientedCoordinateArrayTest.cpp:44:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(reader_.read(wkt)); data/geos-3.8.1/tests/unit/noding/snapround/MCIndexSnapRounderTest.cpp:91:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = r.read(wkt); data/geos-3.8.1/tests/unit/operation/IsSimpleOpTest.cpp:61:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const Geometry::Ptr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/operation/IsSimpleOpTest.cpp:86:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const Geometry::Ptr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/operation/IsSimpleOpTest.cpp:101:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const Geometry::Ptr geom(reader_.read(wkt)); data/geos-3.8.1/tests/unit/operation/buffer/BufferBuilderTest.cpp:84:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:64:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:84:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:106:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:134:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:174:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:198:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:223:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:248:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:273:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:301:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/buffer/BufferOpTest.cpp:355:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:60:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:61:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:82:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:83:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:105:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:106:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:128:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:129:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:151:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:152:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:175:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:176:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:202:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:203:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:227:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:228:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:247:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:248:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:270:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:271:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:293:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:294:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:316:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:317:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:339:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:340:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:363:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:364:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:389:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:390:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:415:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:416:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:438:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:439:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:461:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:462:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:470:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g0 = wktreader.read(wkt0); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:471:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g1 = wktreader.read(wkt1); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:562:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g1 = wktreader.read("LINESTRING (0.0 0.0, 9.9 1.4)"); data/geos-3.8.1/tests/unit/operation/distance/DistanceOpTest.cpp:563:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g2 = wktreader.read("LINESTRING (11.88 1.68, 21.78 3.08)"); data/geos-3.8.1/tests/unit/operation/distance/IndexedFacetDistanceTest.cpp:47:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/distance/IndexedFacetDistanceTest.cpp:48:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g2(wktreader.read(wkt2)); data/geos-3.8.1/tests/unit/operation/distance/IndexedFacetDistanceTest.cpp:81:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/distance/IndexedFacetDistanceTest.cpp:82:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/geounion/CascadedPolygonUnionTest.cpp:112:58: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). dynamic_cast<geos::geom::Polygon*>(wktreader.read(wkt).release()); data/geos-3.8.1/tests/unit/operation/geounion/CoverageUnionTest.cpp:50:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geoms.push_back(reader.read(wkt)); data/geos-3.8.1/tests/unit/operation/geounion/CoverageUnionTest.cpp:73:36: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geoms.push_back(reader.read(wkt)); data/geos-3.8.1/tests/unit/operation/geounion/UnaryUnionOpTest.cpp:54:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return GeomPtr(wktreader.read(inputWKT)); data/geos-3.8.1/tests/unit/operation/intersection/RectangleIntersectionTest.cpp:44:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return GeomPtr(wktreader.read(inputWKT)); data/geos-3.8.1/tests/unit/operation/linemerge/LineMergerTest.cpp:60:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return GeomPtr(wktreader.read(inputWKT)); data/geos-3.8.1/tests/unit/operation/linemerge/LineSequencerTest.cpp:53:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return GeomPtr(wktreader.read(inputWKT)); data/geos-3.8.1/tests/unit/operation/overlay/OverlayOpUnionTest.cpp:48:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr line1(reader.read("LINESTRING(0 0, 0 5)")); data/geos-3.8.1/tests/unit/operation/overlay/OverlayOpUnionTest.cpp:49:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr line2(reader.read("LINESTRING(0 5, 5 5)")); data/geos-3.8.1/tests/unit/operation/overlay/OverlayOpUnionTest.cpp:50:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr line3(reader.read("LINESTRING(5 5, 5 0)")); data/geos-3.8.1/tests/unit/operation/overlay/OverlayOpUnionTest.cpp:51:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr line4(reader.read("LINESTRING(5 0, 0 0)")); data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp:51:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr src(reader.read( data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp:57:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr snap(reader.read( data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp:61:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(reader.read( data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp:77:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr src(reader.read( data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp:83:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr snap(reader.read( data/geos-3.8.1/tests/unit/operation/overlay/snap/GeometrySnapperTest.cpp:87:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(reader.read( data/geos-3.8.1/tests/unit/operation/overlay/validate/FuzzyPointLocatorTest.cpp:39:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/overlay/validate/FuzzyPointLocatorTest.cpp:150:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OffsetPointGeneratorTest.cpp:88:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/overlay/validate/OffsetPointGeneratorTest.cpp:113:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/overlay/validate/OffsetPointGeneratorTest.cpp:138:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/overlay/validate/OffsetPointGeneratorTest.cpp:163:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/overlay/validate/OffsetPointGeneratorTest.cpp:188:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:60:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:63:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:66:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_gres(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:80:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:83:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:86:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_gres(wktreader.read(wktres)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:100:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:103:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:106:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_gres(wktreader.read(wktres)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:121:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:124:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:127:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_gres(wktreader.read(wktres)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:142:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:145:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:149:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_gres(wktreader.read(wktres)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:164:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:167:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_g1(wktreader.read(wkt1)); data/geos-3.8.1/tests/unit/operation/overlay/validate/OverlayResultValidatorTest.cpp:171:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr p_gres(wktreader.read(wktres)); data/geos-3.8.1/tests/unit/operation/polygonize/PolygonizeTest.cpp:108:44: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). inputGeoms.push_back(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/operation/polygonize/PolygonizeTest.cpp:112:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:63:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("POINT(0 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:64:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("POINT(1 1)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:80:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("POLYGON((0 0, 10 0, 10 10, 0 10, 0 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:81:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:97:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:98:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(20 0, 20 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:111:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:112:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(-10 5, 10 5)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:125:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:126:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(5 0, 15 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:141:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:142:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(15 0, 5 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:157:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(15 0, 5 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:158:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:173:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(-15 0, 15 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:174:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(-10 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:189:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(-15 0, 15 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:190:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(10 0, -10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:205:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(-15 0, 15 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:206:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(-10 0, -5 0, 0 5, 10 0, 5 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:225:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(-10 0, -5 0, 0 5, 10 0, 5 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:226:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(-15 0, 15 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:245:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("MULTILINESTRING((-10 0, -5 0),(10 0, 5 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:246:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(-15 0, 15 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:265:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("MULTILINESTRING((-10 0, -5 0),(10 0, 5 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:266:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("MULTILINESTRING((-8 0, -2 0),(6 0, 12 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:285:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("MULTILINESTRING((-10 0, -5 0),(10 0, 5 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:286:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("MULTILINESTRING((-8 0, -2 0),(12 0, 6 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:304:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("MULTILINESTRING((-10 0, -5 0),(10 0, 5 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:305:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("MULTILINESTRING((6 0, 12 0),(-2 0, -8 0))")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:323:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING(0 0, 5 10, 10 10)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:324:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(0 0, 5 10, 10 10)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:342:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING( 0 0, 5 10, 10 10)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:343:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING(10 10, 5 10, 0 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:361:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING( 0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:362:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING( 0 0, 10 0, 10 10, 0 10, 0 0 )")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:379:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING( 0 0, 10 0, 10 10, 0 10, 0 0 )")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:380:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING( 0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:397:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING( 0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:398:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING( 0 0, 0 10, 10 10, 10 0, 0 0 )")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:415:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read("LINESTRING( 0 0, 0 10, 10 10, 10 0, 0 0 )")); data/geos-3.8.1/tests/unit/operation/sharedpaths/SharedPathsOpTest.cpp:416:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g1(wktreader.read("LINESTRING( 0 0, 10 0)")); data/geos-3.8.1/tests/unit/operation/valid/IsValidOpTest.cpp:85:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g0(wktreader.read(wkt0)); data/geos-3.8.1/tests/unit/operation/valid/IsValidOpTest.cpp:112:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto g = wktreader.read(wkt); data/geos-3.8.1/tests/unit/operation/valid/RepeatedPointRemoverTest.cpp:37:56: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return std::unique_ptr<Geometry>(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/operation/valid/ValidClosedRingTest.cpp:56:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = rdr.read(wkt); data/geos-3.8.1/tests/unit/operation/valid/ValidSelfTouchingRingFormingHoleTest.cpp:56:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). geom = rdr.read(wkt); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:66:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, 1.4 1.4, 1.4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:67:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON (( 0 0, 0 1, 1 1, 1 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:81:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 .4, .4 .4, .4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:82:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:96:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, .4 .4, .4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:97:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:111:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, .4 .4, .4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:116:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:130:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("LINESTRING ( 0 0, 0 1.4 )")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:131:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("LINESTRING (0 0, 0 1)")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:145:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("LINESTRING ( 0 0, 0 .4 )")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:146:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("LINESTRING EMPTY")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:160:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("LINESTRING ( 0 0, 0 .4 )")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:161:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("LINESTRING ( 0 0, 0 0 )")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:175:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, 1.4 1.4, 1.4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:176:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON (( 0 0, 0 1, 1 1, 1 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:190:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("MULTIPOINT ((0 0), (0 1.4), (1.4 1.4), (1.4 0), (0.9 0) ))")); data/geos-3.8.1/tests/unit/precision/GeometryPrecisionReducerTest.cpp:191:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("MULTIPOINT ((0 0), (0 1), (1 1), (1 0), (1 0) ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:60:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, 1.4 1.4, 1.4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:61:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON (( 0 0, 0 1, 1 1, 1 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:74:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 .4, .4 .4, .4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:75:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:88:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, .4 .4, .4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:89:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON EMPTY")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:102:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("POLYGON (( 0 0, 0 1.4, .4 .4, .4 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:103:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("POLYGON (( 0 0, 0 1, 0 0, 0 0, 0 0 ))")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:116:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("LINESTRING ( 0 0, 0 1.4 )")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:117:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("LINESTRING (0 0, 0 1)")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:130:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("LINESTRING ( 0 0, 0 .4 )")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:131:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("LINESTRING EMPTY")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:144:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g1(reader_.read("LINESTRING ( 0 0, 0 .4 )")); data/geos-3.8.1/tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:145:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr g2(reader_.read("LINESTRING ( 0 0, 0 0 )")); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:57:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:80:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:82:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:106:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:108:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:131:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:133:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:155:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:157:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:179:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:181:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:201:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:203:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:222:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:242:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:244:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:267:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:269:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:296:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:363:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt_in)); data/geos-3.8.1/tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:365:32: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr expected(wktreader.read(wkt_ex)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:63:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:78:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:97:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:130:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:135:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g_expected(wktreader.read(wkt_expected)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:150:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:167:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:187:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:193:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g_expected(wktreader.read(wkt_expected)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:207:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:223:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:224:34: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g_expected(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:241:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:256:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:271:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:287:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:303:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:321:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/simplify/TopologyPreservingSimplifierTest.cpp:338:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr g(wktreader.read(wkt)); data/geos-3.8.1/tests/unit/triangulate/DelaunayTest.cpp:47:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto sites = reader.read(sitesWkt); data/geos-3.8.1/tests/unit/triangulate/DelaunayTest.cpp:48:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto expected = reader.read(expectedWkt); data/geos-3.8.1/tests/unit/triangulate/VoronoiTest.cpp:57:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return wktreader.read(wktstr); data/geos-3.8.1/tests/unit/triangulate/quadedge/QuadEdgeSubdivisionTest.cpp:89:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto sites = reader.read("MULTIPOINT ((150 200), (180 270), (275 163))"); data/geos-3.8.1/tests/unit/triangulate/quadedge/QuadEdgeSubdivisionTest.cpp:108:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). auto expected = reader.read(expected_str); data/geos-3.8.1/tests/unit/triangulate/quadedge/QuadEdgeSubdivisionTest.cpp:128:44: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::unique_ptr<Geometry> sites(reader.read(wkt)); data/geos-3.8.1/tests/unit/tut/tut_main.hpp:92: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). if(end != argv[2] + strlen(argv[2])) data/geos-3.8.1/tests/unit/tut/tut_posix.hpp:381:21: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int r = read(pipe, buffer, sizeof(buffer)); data/geos-3.8.1/tests/unit/util/UniqueCoordinateArrayFilterTest.cpp:59:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeometryPtr geo(reader_.read(wkt)); data/geos-3.8.1/tests/xmltester/SimpleWKTTester.cpp:53:24: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). g = r->read(instr).release(); data/geos-3.8.1/tests/xmltester/XMLTester.cpp:143:66: [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). static const unsigned int LENGTH = static_cast<unsigned int>(strlen(pINDENT)); data/geos-3.8.1/tests/xmltester/XMLTester.cpp:618:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = wktreader->read(in); data/geos-3.8.1/tests/xmltester/XMLTester.cpp:1507:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr gRes(wktreader->read(opRes)); data/geos-3.8.1/tests/xmltester/XMLTester.cpp:1537:37: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GeomPtr gRes(wktreader->read(opRes)); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:184: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 len = strlen( str ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:201: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). size_t length = strlen( endTag ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:1091:18: [1] (buffer) mismatch: 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 ( mismatch ) { data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2214:10: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ( fgetc( fp ) == EOF && ferror( fp ) != 0 ) { data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2243:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ( read != size ) { data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2294:15: [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 = strlen( p ); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2342: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 len = strlen(buffer); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.cpp:2344: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). len = strlen(buffer); data/geos-3.8.1/tests/xmltester/tinyxml2/tinyxml2.h:2269:68: [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). inline void Write( const char* data ) { Write( data, strlen( data ) ); } data/geos-3.8.1/tools/astyle/astyle.h:1061: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). { return currentLine.compare(charNum, strlen(sequence), sequence) == 0; } data/geos-3.8.1/tools/astyle/astyle_main.cpp:844: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). return arg.substr(strlen(op)); data/geos-3.8.1/tools/astyle/astyle_main.cpp:910:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read(data, blockSize); data/geos-3.8.1/tools/astyle/astyle_main.cpp:935:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). fin.read(data, blockSize); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1205: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). if (absPath.compare(0, strlen(env), env) != 0) data/geos-3.8.1/tools/astyle/astyle_main.cpp:1483: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). if (absPath.compare(0, strlen(env), env) != 0) data/geos-3.8.1/tools/astyle/astyle_main.cpp:1523: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). size_t envlen = strlen(envPaths); data/geos-3.8.1/tools/astyle/astyle_main.cpp:1733:34: [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). bool retVal = arg.compare(0, strlen(option), option) == 0; data/geos-3.8.1/tools/astyle/astyle_main.cpp:1735: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). if (retVal && strlen(option) == 1 && arg.length() > 1) data/geos-3.8.1/tools/astyle/astyle_main.cpp:2675:47: [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 numSpaces = 60 - header.length() - strlen(str); data/geos-3.8.1/tools/astyle/astyle_main.cpp:2970: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). size_t dataSize = strlen(utf8In); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3010:24: [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(utf8Size == strlen(utf8Out) + 1); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3762: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). return arg.substr(strlen(op)); data/geos-3.8.1/tools/astyle/astyle_main.cpp:3789:34: [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). bool retVal = arg.compare(0, strlen(option), option) == 0; data/geos-3.8.1/tools/astyle/astyle_main.cpp:3791: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). if (retVal && strlen(option) == 1 && arg.length() > 1) ANALYSIS SUMMARY: Hits = 749 Lines analyzed = 228925 in approximately 5.59 seconds (40960 lines/second) Physical Source Lines of Code (SLOC) = 143378 Hits@level = [0] 307 [1] 530 [2] 115 [3] 13 [4] 91 [5] 0 Hits@level+ = [0+] 1056 [1+] 749 [2+] 219 [3+] 104 [4+] 91 [5+] 0 Hits/KSLOC@level+ = [0+] 7.36515 [1+] 5.22395 [2+] 1.52743 [3+] 0.725355 [4+] 0.634686 [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.