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/osmium-tool-1.12.1/include/rapidjson/allocators.h
Examining data/osmium-tool-1.12.1/include/rapidjson/document.h
Examining data/osmium-tool-1.12.1/include/rapidjson/encodedstream.h
Examining data/osmium-tool-1.12.1/include/rapidjson/encodings.h
Examining data/osmium-tool-1.12.1/include/rapidjson/error/en.h
Examining data/osmium-tool-1.12.1/include/rapidjson/error/error.h
Examining data/osmium-tool-1.12.1/include/rapidjson/filereadstream.h
Examining data/osmium-tool-1.12.1/include/rapidjson/filewritestream.h
Examining data/osmium-tool-1.12.1/include/rapidjson/fwd.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/biginteger.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/diyfp.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/dtoa.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/ieee754.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/itoa.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/meta.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/pow10.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/regex.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/stack.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/strfunc.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/strtod.h
Examining data/osmium-tool-1.12.1/include/rapidjson/internal/swap.h
Examining data/osmium-tool-1.12.1/include/rapidjson/istreamwrapper.h
Examining data/osmium-tool-1.12.1/include/rapidjson/memorybuffer.h
Examining data/osmium-tool-1.12.1/include/rapidjson/memorystream.h
Examining data/osmium-tool-1.12.1/include/rapidjson/msinttypes/inttypes.h
Examining data/osmium-tool-1.12.1/include/rapidjson/msinttypes/stdint.h
Examining data/osmium-tool-1.12.1/include/rapidjson/ostreamwrapper.h
Examining data/osmium-tool-1.12.1/include/rapidjson/pointer.h
Examining data/osmium-tool-1.12.1/include/rapidjson/prettywriter.h
Examining data/osmium-tool-1.12.1/include/rapidjson/rapidjson.h
Examining data/osmium-tool-1.12.1/include/rapidjson/reader.h
Examining data/osmium-tool-1.12.1/include/rapidjson/schema.h
Examining data/osmium-tool-1.12.1/include/rapidjson/stream.h
Examining data/osmium-tool-1.12.1/include/rapidjson/stringbuffer.h
Examining data/osmium-tool-1.12.1/include/rapidjson/writer.h
Examining data/osmium-tool-1.12.1/src/cmd.cpp
Examining data/osmium-tool-1.12.1/src/cmd.hpp
Examining data/osmium-tool-1.12.1/src/cmd_factory.cpp
Examining data/osmium-tool-1.12.1/src/command_add_locations_to_ways.cpp
Examining data/osmium-tool-1.12.1/src/command_add_locations_to_ways.hpp
Examining data/osmium-tool-1.12.1/src/command_apply_changes.cpp
Examining data/osmium-tool-1.12.1/src/command_apply_changes.hpp
Examining data/osmium-tool-1.12.1/src/command_cat.cpp
Examining data/osmium-tool-1.12.1/src/command_cat.hpp
Examining data/osmium-tool-1.12.1/src/command_changeset_filter.cpp
Examining data/osmium-tool-1.12.1/src/command_changeset_filter.hpp
Examining data/osmium-tool-1.12.1/src/command_check_refs.cpp
Examining data/osmium-tool-1.12.1/src/command_check_refs.hpp
Examining data/osmium-tool-1.12.1/src/command_create_locations_index.cpp
Examining data/osmium-tool-1.12.1/src/command_create_locations_index.hpp
Examining data/osmium-tool-1.12.1/src/command_derive_changes.cpp
Examining data/osmium-tool-1.12.1/src/command_derive_changes.hpp
Examining data/osmium-tool-1.12.1/src/command_diff.cpp
Examining data/osmium-tool-1.12.1/src/command_diff.hpp
Examining data/osmium-tool-1.12.1/src/command_export.cpp
Examining data/osmium-tool-1.12.1/src/command_export.hpp
Examining data/osmium-tool-1.12.1/src/command_extract.cpp
Examining data/osmium-tool-1.12.1/src/command_extract.hpp
Examining data/osmium-tool-1.12.1/src/command_fileinfo.cpp
Examining data/osmium-tool-1.12.1/src/command_fileinfo.hpp
Examining data/osmium-tool-1.12.1/src/command_getid.cpp
Examining data/osmium-tool-1.12.1/src/command_getid.hpp
Examining data/osmium-tool-1.12.1/src/command_getparents.cpp
Examining data/osmium-tool-1.12.1/src/command_getparents.hpp
Examining data/osmium-tool-1.12.1/src/command_help.cpp
Examining data/osmium-tool-1.12.1/src/command_help.hpp
Examining data/osmium-tool-1.12.1/src/command_merge.cpp
Examining data/osmium-tool-1.12.1/src/command_merge.hpp
Examining data/osmium-tool-1.12.1/src/command_merge_changes.cpp
Examining data/osmium-tool-1.12.1/src/command_merge_changes.hpp
Examining data/osmium-tool-1.12.1/src/command_query_locations_index.cpp
Examining data/osmium-tool-1.12.1/src/command_query_locations_index.hpp
Examining data/osmium-tool-1.12.1/src/command_renumber.cpp
Examining data/osmium-tool-1.12.1/src/command_renumber.hpp
Examining data/osmium-tool-1.12.1/src/command_show.cpp
Examining data/osmium-tool-1.12.1/src/command_show.hpp
Examining data/osmium-tool-1.12.1/src/command_sort.cpp
Examining data/osmium-tool-1.12.1/src/command_sort.hpp
Examining data/osmium-tool-1.12.1/src/command_tags_count.cpp
Examining data/osmium-tool-1.12.1/src/command_tags_count.hpp
Examining data/osmium-tool-1.12.1/src/command_tags_filter.cpp
Examining data/osmium-tool-1.12.1/src/command_tags_filter.hpp
Examining data/osmium-tool-1.12.1/src/command_time_filter.cpp
Examining data/osmium-tool-1.12.1/src/command_time_filter.hpp
Examining data/osmium-tool-1.12.1/src/commands.cpp
Examining data/osmium-tool-1.12.1/src/exception.hpp
Examining data/osmium-tool-1.12.1/src/export/export_format.hpp
Examining data/osmium-tool-1.12.1/src/export/export_format_json.cpp
Examining data/osmium-tool-1.12.1/src/export/export_format_json.hpp
Examining data/osmium-tool-1.12.1/src/export/export_format_pg.cpp
Examining data/osmium-tool-1.12.1/src/export/export_format_pg.hpp
Examining data/osmium-tool-1.12.1/src/export/export_format_spaten.cpp
Examining data/osmium-tool-1.12.1/src/export/export_format_spaten.hpp
Examining data/osmium-tool-1.12.1/src/export/export_format_text.cpp
Examining data/osmium-tool-1.12.1/src/export/export_format_text.hpp
Examining data/osmium-tool-1.12.1/src/export/export_handler.cpp
Examining data/osmium-tool-1.12.1/src/export/export_handler.hpp
Examining data/osmium-tool-1.12.1/src/export/options.hpp
Examining data/osmium-tool-1.12.1/src/export/ruleset.hpp
Examining data/osmium-tool-1.12.1/src/extract/extract.cpp
Examining data/osmium-tool-1.12.1/src/extract/extract.hpp
Examining data/osmium-tool-1.12.1/src/extract/extract_bbox.cpp
Examining data/osmium-tool-1.12.1/src/extract/extract_bbox.hpp
Examining data/osmium-tool-1.12.1/src/extract/extract_polygon.cpp
Examining data/osmium-tool-1.12.1/src/extract/extract_polygon.hpp
Examining data/osmium-tool-1.12.1/src/extract/geojson_file_parser.cpp
Examining data/osmium-tool-1.12.1/src/extract/geojson_file_parser.hpp
Examining data/osmium-tool-1.12.1/src/extract/osm_file_parser.cpp
Examining data/osmium-tool-1.12.1/src/extract/osm_file_parser.hpp
Examining data/osmium-tool-1.12.1/src/extract/poly_file_parser.cpp
Examining data/osmium-tool-1.12.1/src/extract/poly_file_parser.hpp
Examining data/osmium-tool-1.12.1/src/extract/strategy.hpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_complete_ways.cpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_complete_ways.hpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_complete_ways_with_history.cpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_complete_ways_with_history.hpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_simple.cpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_simple.hpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_smart.cpp
Examining data/osmium-tool-1.12.1/src/extract/strategy_smart.hpp
Examining data/osmium-tool-1.12.1/src/id_file.cpp
Examining data/osmium-tool-1.12.1/src/id_file.hpp
Examining data/osmium-tool-1.12.1/src/io.cpp
Examining data/osmium-tool-1.12.1/src/main.cpp
Examining data/osmium-tool-1.12.1/src/util.cpp
Examining data/osmium-tool-1.12.1/src/util.hpp
Examining data/osmium-tool-1.12.1/test/cat/test_setup.cpp
Examining data/osmium-tool-1.12.1/test/diff/test_setup.cpp
Examining data/osmium-tool-1.12.1/test/extract/test_unit.cpp
Examining data/osmium-tool-1.12.1/test/include/catch.hpp
Examining data/osmium-tool-1.12.1/test/include/test.hpp
Examining data/osmium-tool-1.12.1/test/time-filter/test_setup.cpp
Examining data/osmium-tool-1.12.1/test/unit_tests.cpp
Examining data/osmium-tool-1.12.1/test/util/test_unit.cpp

FINAL RESULTS:

data/osmium-tool-1.12.1/src/command_help.cpp:44:7:  [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("man", "man", manpage.c_str(), nullptr);
data/osmium-tool-1.12.1/src/command_show.cpp:170:15:  [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(pager.c_str(), pager.c_str(), "-R", nullptr);
data/osmium-tool-1.12.1/src/command_show.cpp:173:15:  [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(pager.c_str(), pager.c_str(), nullptr);
data/osmium-tool-1.12.1/src/command_show.cpp:51:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char* pager = ::getenv("OSMIUM_PAGER");
data/osmium-tool-1.12.1/src/command_show.cpp:55:19:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
        pager = ::getenv("PAGER");
data/osmium-tool-1.12.1/src/command_show.cpp:129:48:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any 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* output_format_from_env = ::getenv("OSMIUM_SHOW_FORMAT");
data/osmium-tool-1.12.1/test/include/catch.hpp:8785:18:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
            std::srand( config.rngSeed() );
data/osmium-tool-1.12.1/include/rapidjson/allocators.h:217: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(newBuffer, originalPtr, originalSize);
data/osmium-tool-1.12.1/include/rapidjson/document.h:1060:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            static char buffer[sizeof(GenericValue)];
data/osmium-tool-1.12.1/include/rapidjson/document.h:1847: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 payload[sizeof(SizeType) * 2 + 6];     // 2 x SizeType + lower 48-bit pointer
data/osmium-tool-1.12.1/include/rapidjson/document.h:1849: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 payload[sizeof(SizeType) * 2 + sizeof(void*) + 6]; // 6 padding bytes
data/osmium-tool-1.12.1/include/rapidjson/document.h:1851: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 payload[sizeof(SizeType) * 2 + sizeof(void*) + 2]; // 2 padding bytes
data/osmium-tool-1.12.1/include/rapidjson/document.h:1884: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 padding[4];
data/osmium-tool-1.12.1/include/rapidjson/document.h:1888: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 padding2[4];
data/osmium-tool-1.12.1/include/rapidjson/document.h:1892: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 padding[4];
data/osmium-tool-1.12.1/include/rapidjson/document.h:1896: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 padding2[4];
data/osmium-tool-1.12.1/include/rapidjson/document.h:1939: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(e, values, count * sizeof(GenericValue));
data/osmium-tool-1.12.1/include/rapidjson/document.h:1952: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(m, members, count * sizeof(Member));
data/osmium-tool-1.12.1/include/rapidjson/document.h:1979: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(str, s, s.length * sizeof(Ch));
data/osmium-tool-1.12.1/include/rapidjson/internal/biginteger.h:33: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(digits_, rhs.digits_, count_ * sizeof(Type));
data/osmium-tool-1.12.1/include/rapidjson/internal/biginteger.h:59: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(digits_, rhs.digits_, count_ * sizeof(Type));
data/osmium-tool-1.12.1/include/rapidjson/internal/itoa.h:24:18:  [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 cDigitsLut[200] = {
data/osmium-tool-1.12.1/include/rapidjson/internal/regex.h:474: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(s, &GetState(src.minIndex), count * sizeof(State));
data/osmium-tool-1.12.1/include/rapidjson/pointer.h:215: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(p, token.name, (token.length + 1) * sizeof(Ch));
data/osmium-tool-1.12.1/include/rapidjson/pointer.h:265:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[21];
data/osmium-tool-1.12.1/include/rapidjson/pointer.h:771: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(tokens_, rhs.tokens_, rhs.tokenCount_ * sizeof(Token));
data/osmium-tool-1.12.1/include/rapidjson/pointer.h:774: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(nameBuffer_, rhs.nameBuffer_, nameBufferSize * sizeof(Ch));
data/osmium-tool-1.12.1/include/rapidjson/pointer.h:1030:26:  [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 hexDigits[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:297:18:  [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 whitespace[16] = " \n\r\t";
data/osmium-tool-1.12.1/include/rapidjson/reader.h:323:18:  [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 whitespace[16] = " \n\r\t";
data/osmium-tool-1.12.1/include/rapidjson/reader.h:363:18:  [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 whitespaces[4][16] = { C16(' '), C16('\n'), C16('\r'), C16('\t') };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:399:18:  [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 whitespaces[4][16] = { C16(' '), C16('\n'), C16('\r'), C16('\t') };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:843:22:  [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 escape[256] = {
data/osmium-tool-1.12.1/include/rapidjson/reader.h:928:22:  [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 dquote[16] = { '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:929:22:  [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 bslash[16] = { '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:930:22:  [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 space[16]  = { 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19 };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:989:22:  [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 dquote[16] = { '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:990:22:  [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 bslash[16] = { '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:991:22:  [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 space[16] = { 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19 };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:1037:22:  [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 dquote[16] = { '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:1038:22:  [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 bslash[16] = { '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\' };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:1039:22:  [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 space[16] = { 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19 };
data/osmium-tool-1.12.1/include/rapidjson/reader.h:1461:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static const unsigned char tokenMap[256] = {
data/osmium-tool-1.12.1/include/rapidjson/reader.h:1484:22:  [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 G[cIterativeParsingStateCount][kTokenCount] = {
data/osmium-tool-1.12.1/include/rapidjson/schema.h:403: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 buffer[256 + 24];
data/osmium-tool-1.12.1/include/rapidjson/schema.h:1267:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[21];
data/osmium-tool-1.12.1/include/rapidjson/writer.h:282:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[11];
data/osmium-tool-1.12.1/include/rapidjson/writer.h:291:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[10];
data/osmium-tool-1.12.1/include/rapidjson/writer.h:300:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[21];
data/osmium-tool-1.12.1/include/rapidjson/writer.h:309:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[20];
data/osmium-tool-1.12.1/include/rapidjson/writer.h:337:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[25];
data/osmium-tool-1.12.1/include/rapidjson/writer.h:347:22:  [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 escape[256] = {
data/osmium-tool-1.12.1/include/rapidjson/writer.h:562:18:  [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 dquote[16] = { '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"', '\"' };
data/osmium-tool-1.12.1/include/rapidjson/writer.h:563:18:  [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 bslash[16] = { '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\', '\\' };
data/osmium-tool-1.12.1/include/rapidjson/writer.h:564:18:  [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 space[16]  = { 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19, 0x19 };
data/osmium-tool-1.12.1/src/command_changeset_filter.cpp:201:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return changeset.open() || changeset.closed_at() >= time;
data/osmium-tool-1.12.1/src/command_changeset_filter.cpp:236:56:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                   (!m_open               || changeset.open()) &&
data/osmium-tool-1.12.1/src/command_create_locations_index.cpp:111:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    const int fd = ::open(m_index_file_name.c_str(), flags, 0666);
data/osmium-tool-1.12.1/src/command_query_locations_index.cpp:116:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    const int fd = ::open(m_index_file_name.c_str(), O_RDWR);
data/osmium-tool-1.12.1/src/command_renumber.cpp:292:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    const int fd = ::open(f.c_str(), O_RDWR);
data/osmium-tool-1.12.1/src/command_renumber.cpp:321:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    const int fd = ::open(f.c_str(), O_WRONLY | O_CREAT, 0666); // NOLINT(hicpp-signed-bitwise)
data/osmium-tool-1.12.1/src/export/export_format_spaten.cpp:26:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char version[4] = {};
data/osmium-tool-1.12.1/src/export/export_format_spaten.cpp:27:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char flags[2] = {};
data/osmium-tool-1.12.1/test/include/catch.hpp:1612:23:  [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.
    struct TrueType { char sizer[1]; };
data/osmium-tool-1.12.1/test/include/catch.hpp:1613:24:  [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.
    struct FalseType { char sizer[2]; };
data/osmium-tool-1.12.1/test/include/catch.hpp:3207: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 storage[sizeof(T)];
data/osmium-tool-1.12.1/test/include/catch.hpp:6214:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        void open() {
data/osmium-tool-1.12.1/test/include/catch.hpp:6308:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                open();
data/osmium-tool-1.12.1/test/include/catch.hpp:6354:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                tracker->open();
data/osmium-tool-1.12.1/test/include/catch.hpp:6543: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 altStackMem[SIGSTKSZ];
data/osmium-tool-1.12.1/test/include/catch.hpp:7190:35:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char **utf8Argv = new char *[ argc ];
data/osmium-tool-1.12.1/test/include/catch.hpp:7704: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 data[bufferSize];
data/osmium-tool-1.12.1/test/include/catch.hpp:7741:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        m_ofs.open( filename.c_str() );
data/osmium-tool-1.12.1/test/include/catch.hpp:8988:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                    char asChar[sizeof (int)];
data/osmium-tool-1.12.1/test/include/catch.hpp:9632: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[maxDoubleSize];
data/osmium-tool-1.12.1/test/include/catch.hpp:9639:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(buffer, "%.3f", duration);
data/osmium-tool-1.12.1/test/include/catch.hpp:9866:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
data/osmium-tool-1.12.1/test/include/catch.hpp:10446:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            char timeStamp[timeStampSize];
data/osmium-tool-1.12.1/src/command_add_locations_to_ways.cpp:121:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_apply_changes.cpp:221:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_apply_changes.cpp:303:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_cat.cpp:130:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_check_refs.cpp:281:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_create_locations_index.cpp:125:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (const auto buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_fileinfo.cpp:870:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_getid.cpp:249:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_getid.cpp:282:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_getid.cpp:302:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_getid.cpp:352:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_getparents.cpp:204:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_merge.cpp:167:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_merge_changes.cpp:110:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_renumber.cpp:118:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void id_map::read(int fd, std::size_t file_size) {
data/osmium-tool-1.12.1/src/command_renumber.cpp:310:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    m_id_map(type).read(fd, file_size);
data/osmium-tool-1.12.1/src/command_renumber.cpp:387:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_renumber.hpp:92:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    void read(int fd, std::size_t file_size);
data/osmium-tool-1.12.1/src/command_show.cpp:199:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_show.cpp:215:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_sort.cpp:114:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_sort.cpp:204:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_tags_count.cpp:272:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_tags_count.hpp:67:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        const auto pos = std::strlen(m_value.c_str());
data/osmium-tool-1.12.1/src/command_tags_filter.cpp:252:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_tags_filter.cpp:286:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_tags_filter.cpp:307:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/command_tags_filter.cpp:358:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/extract/strategy.hpp:94:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/id_file.cpp:25:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (osmium::memory::Buffer buffer = reader.read()) {
data/osmium-tool-1.12.1/src/util.cpp:141:43:  [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 osmium::StringMatcher::equal{string};
data/osmium-tool-1.12.1/test/include/catch.hpp:7216:40:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                static_cast<void>(std::getchar());
data/osmium-tool-1.12.1/test/include/catch.hpp:7221:40:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                static_cast<void>(std::getchar());
data/osmium-tool-1.12.1/test/include/catch.hpp:8709:50:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return s.size() >= prefix.size() && std::equal(prefix.begin(), prefix.end(), s.begin());
data/osmium-tool-1.12.1/test/include/catch.hpp:8715:50:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return s.size() >= suffix.size() && std::equal(suffix.rbegin(), suffix.rend(), s.rbegin());

ANALYSIS SUMMARY:

Hits = 113
Lines analyzed = 41975 in approximately 1.04 seconds (40524 lines/second)
Physical Source Lines of Code (SLOC) = 29418
Hits@level = [0]  10 [1]  35 [2]  71 [3]   4 [4]   3 [5]   0
Hits@level+ = [0+] 123 [1+] 113 [2+]  78 [3+]   7 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 4.18111 [1+] 3.84119 [2+] 2.65144 [3+] 0.23795 [4+] 0.101978 [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.