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/pythonmagick-0.9.19/helpers_src/Blob.h Examining data/pythonmagick-0.9.19/helpers_src/Blob.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathSmoothQuadraticCurvetoAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePolyline.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathCurvetoArgs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableSkewY.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Blob.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathQuadraticCurvetoAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePopGraphicContext.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_FilterTypes.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DecorationType.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathCurvetoRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathMovetoAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathLinetoVerticalAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Coordinate.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableRectangle.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableLine.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableTextUnderColor.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathArcArgs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathLinetoHorizontalRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableStrokeAntialias.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathLinetoAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableTextDecoration.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableMatte.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableDashArray.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePushGraphicContext.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePolygon.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableEllipse.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Geometry.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePointSize.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableFillColor.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Color.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathMovetoRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableViewbox.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathCurvetoAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableStrokeColor.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathLinetoVerticalRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableText.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_CompressionType.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathArcAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableMiterLimit.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathSmoothCurvetoAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableFont.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathLinetoHorizontalAbs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableRotation.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableStrokeOpacity.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Pixels.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathClosePath.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableSkewX.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_ColorspaceType.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableGravity.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_VPath.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathSmoothQuadraticCurvetoRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableFillRule.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_GravityType.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Drawable.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePath.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableStrokeWidth.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathQuadraticCurvetoArgs.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableStrokeLineJoin.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathLinetoRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableTranslation.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathArcRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableFillOpacity.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePushPattern.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_CompositeOperator.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePopClipPath.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_Exception.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableBezier.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableArc.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableRoundRectangle.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableAffine.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePoint.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableDashOffset.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableColor.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableCircle.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableScaling.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableStrokeLineCap.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableCompositeImage.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_TypeMetric.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePopPattern.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathQuadraticCurvetoRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableClipPath.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_PathSmoothCurvetoRel.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawablePushClipPath.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_DrawableTextAntialias.cpp Examining data/pythonmagick-0.9.19/pythonmagick_src/_main.cpp FINAL RESULTS: data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:204:84: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const std::string&) )&Magick::Image::read) data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:205:109: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const Magick::Geometry&, const std::string&) )&Magick::Image::read) data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:206:85: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const Magick::Blob&) )&Magick::Image::read) data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:207:110: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&) )&Magick::Image::read) data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:208:124: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const size_t) )&Magick::Image::read) data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:209:144: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const size_t, const std::string&) )&Magick::Image::read) data/pythonmagick-0.9.19/pythonmagick_src/_Image.cpp:210:130: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). .def("read", (void (Magick::Image::*)(const Magick::Blob&, const Magick::Geometry&, const std::string&) )&Magick::Image::read) ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 4389 in approximately 0.18 seconds (23964 lines/second) Physical Source Lines of Code (SLOC) = 2849 Hits@level = [0] 0 [1] 7 [2] 0 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 7 [2+] 0 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.457 [1+] 2.457 [2+] 0 [3+] 0 [4+] 0 [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.