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/xtl-0.6.21/include/xtl/xany.hpp
Examining data/xtl-0.6.21/include/xtl/xbase64.hpp
Examining data/xtl-0.6.21/include/xtl/xbasic_fixed_string.hpp
Examining data/xtl-0.6.21/include/xtl/xclosure.hpp
Examining data/xtl-0.6.21/include/xtl/xcomplex.hpp
Examining data/xtl-0.6.21/include/xtl/xcomplex_sequence.hpp
Examining data/xtl-0.6.21/include/xtl/xdynamic_bitset.hpp
Examining data/xtl-0.6.21/include/xtl/xfunctional.hpp
Examining data/xtl-0.6.21/include/xtl/xhalf_float.hpp
Examining data/xtl-0.6.21/include/xtl/xhalf_float_impl.hpp
Examining data/xtl-0.6.21/include/xtl/xhash.hpp
Examining data/xtl-0.6.21/include/xtl/xhierarchy_generator.hpp
Examining data/xtl-0.6.21/include/xtl/xiterator_base.hpp
Examining data/xtl-0.6.21/include/xtl/xjson.hpp
Examining data/xtl-0.6.21/include/xtl/xmasked_value.hpp
Examining data/xtl-0.6.21/include/xtl/xmasked_value_meta.hpp
Examining data/xtl-0.6.21/include/xtl/xmeta_utils.hpp
Examining data/xtl-0.6.21/include/xtl/xmultimethods.hpp
Examining data/xtl-0.6.21/include/xtl/xoptional.hpp
Examining data/xtl-0.6.21/include/xtl/xoptional_meta.hpp
Examining data/xtl-0.6.21/include/xtl/xoptional_sequence.hpp
Examining data/xtl-0.6.21/include/xtl/xplatform.hpp
Examining data/xtl-0.6.21/include/xtl/xproxy_wrapper.hpp
Examining data/xtl-0.6.21/include/xtl/xsequence.hpp
Examining data/xtl-0.6.21/include/xtl/xspan.hpp
Examining data/xtl-0.6.21/include/xtl/xspan_impl.hpp
Examining data/xtl-0.6.21/include/xtl/xtl_config.hpp
Examining data/xtl-0.6.21/include/xtl/xtype_traits.hpp
Examining data/xtl-0.6.21/include/xtl/xvariant.hpp
Examining data/xtl-0.6.21/include/xtl/xvariant_impl.hpp
Examining data/xtl-0.6.21/include/xtl/xvisitor.hpp
Examining data/xtl-0.6.21/test/test_xbase64.cpp
Examining data/xtl-0.6.21/test/test_xbasic_fixed_string.cpp
Examining data/xtl-0.6.21/test/test_xclosure.cpp
Examining data/xtl-0.6.21/test/test_xcomplex.cpp
Examining data/xtl-0.6.21/test/test_xcomplex_sequence.cpp
Examining data/xtl-0.6.21/test/test_xdynamic_bitset.cpp
Examining data/xtl-0.6.21/test/test_xfunctional.cpp
Examining data/xtl-0.6.21/test/test_xhalf_float.cpp
Examining data/xtl-0.6.21/test/test_xhash.cpp
Examining data/xtl-0.6.21/test/test_xhierarchy_generator.cpp
Examining data/xtl-0.6.21/test/test_xiterator_base.cpp
Examining data/xtl-0.6.21/test/test_xmasked_value.cpp
Examining data/xtl-0.6.21/test/test_xmeta_utils.cpp
Examining data/xtl-0.6.21/test/test_xmultimethods.cpp
Examining data/xtl-0.6.21/test/test_xoptional.cpp
Examining data/xtl-0.6.21/test/test_xplatform.cpp
Examining data/xtl-0.6.21/test/test_xproxy_wrapper.cpp
Examining data/xtl-0.6.21/test/test_xsequence.cpp
Examining data/xtl-0.6.21/test/test_xtype_traits.cpp
Examining data/xtl-0.6.21/test/test_xvariant.cpp
Examining data/xtl-0.6.21/test/test_xvisitor.cpp

FINAL RESULTS:

data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1112:15:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    namespace access {
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1176:25:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                        access::base::get_alt<0>(std::declval<Vs>())...));
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1232:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                access::base::get_alt<ITs::value>(
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1236:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                access::base::get_alt<ITs::value>(
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1306:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                            access::base::get_alt<I>(lib::forward<Vs>(vs))...));
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1309:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                access::base::get_alt<I>(lib::forward<Vs>(vs))...);
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1395:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                access::base::get_alt<Is>(lib::forward<Vs>(vs))...));
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1398:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                access::base::get_alt<Is>(lib::forward<Vs>(vs))...);
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1456:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                            access::base::get_alt<I>(lib::forward<Vs>(vs))...));
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1459:17:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                access::base::get_alt<I>(lib::forward<Vs>(vs))...);
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1691:19:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    friend struct access::recursive_union;                                 \
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1742:21:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
      friend struct access::base;
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1947:43:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
          -> decltype(this->construct_alt(access::base::get_alt<I>(*this),
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:1950:44:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        auto &result = this->construct_alt(access::base::get_alt<I>(*this),
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:2107:26:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
        this->assign_alt(access::base::get_alt<I>(*this),
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:2401:27:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    friend struct detail::access::variant;
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:2422:13:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
            access::variant::get_alt<I>(lib::forward<V>(v)).value)
data/xtl-0.6.21/include/xtl/xvariant_impl.hpp:2481:40:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
                      ? lib::addressof(access::variant::get_alt<I>(*v).value)
data/xtl-0.6.21/test/test_xbasic_fixed_string.cpp:1174:9:  [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(buf, s.c_str());
data/xtl-0.6.21/test/test_xcomplex_sequence.cpp:43:29:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    TEST(xcomplex_sequence, access)
data/xtl-0.6.21/test/test_xhash.cpp:88:14:  [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(883741);
data/xtl-0.6.21/include/xtl/xhalf_float_impl.hpp:568: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.
			std::memcpy(&fbits, &value, sizeof(float));
data/xtl-0.6.21/include/xtl/xhalf_float_impl.hpp:621: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 unsigned char shift_table[256] = {
data/xtl-0.6.21/include/xtl/xhalf_float_impl.hpp:651: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.
			std::memcpy(&dbits, &value, sizeof(double));
data/xtl-0.6.21/include/xtl/xhalf_float_impl.hpp:897: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.
			std::memcpy(&out, &fbits, sizeof(float));
data/xtl-0.6.21/include/xtl/xhalf_float_impl.hpp:918: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.
			std::memcpy(&out, &dbits, sizeof(double));
data/xtl-0.6.21/include/xtl/xplatform.hpp:28: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 btmp[sizeof(utmp)];
data/xtl-0.6.21/include/xtl/xplatform.hpp:29: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(&btmp[0], &utmp, sizeof(utmp));
data/xtl-0.6.21/include/xtl/xspan_impl.hpp:480: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 msgbuf[64] = {
data/xtl-0.6.21/test/test_xbasic_fixed_string.cpp:1173: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[16];
data/xtl-0.6.21/test/test_xbasic_fixed_string.cpp:1185: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[16] = "element_access";
data/xtl-0.6.21/test/test_xhash.cpp:114:26:  [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(key2,key1,std::size_t(len));
data/xtl-0.6.21/include/xtl/xbasic_fixed_string.hpp:143:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                return std::strlen(m_buffer);
data/xtl-0.6.21/include/xtl/xclosure.hpp:140:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        bool equal(const self_type& rhs) const;
data/xtl-0.6.21/include/xtl/xclosure.hpp:338:39:  [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.
    inline bool xclosure_wrapper<CT>::equal(const self_type& rhs) const
data/xtl-0.6.21/include/xtl/xclosure.hpp:353:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return lhs.equal(rhs);
data/xtl-0.6.21/include/xtl/xiterator_base.hpp:375:21:  [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.
        inline bool equal(const self_type& rhs) const
data/xtl-0.6.21/include/xtl/xiterator_base.hpp:394:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return lhs.equal(rhs);
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:62:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        bool equal(const xmasked_value<T1, B1>& rhs) const noexcept;
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:65:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        bool equal(const T1& rhs) const noexcept;
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:195:38:  [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.
    inline bool xmasked_value<T, B>::equal(const xmasked_value<T1, B1>& rhs) const noexcept
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:202:38:  [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.
    inline bool xmasked_value<T, B>::equal(const T1& rhs) const noexcept
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:219:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return lhs.equal(rhs);
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:225:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return rhs.equal(lhs);
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:231:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return lhs.equal(rhs);
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:237:21:  [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 !lhs.equal(rhs);
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:243:21:  [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 !rhs.equal(lhs);
data/xtl-0.6.21/include/xtl/xmasked_value.hpp:249:21:  [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 !lhs.equal(rhs);
data/xtl-0.6.21/include/xtl/xoptional.hpp:290:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        bool equal(const xoptional<CTO, CBO>& rhs) const noexcept;
data/xtl-0.6.21/include/xtl/xoptional.hpp:293:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        bool equal(const CTO& rhs) const noexcept;
data/xtl-0.6.21/include/xtl/xoptional.hpp:675:29:  [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.
    auto xoptional<CT, CB>::equal(const xoptional<CTO, CBO>& rhs) const noexcept -> bool
data/xtl-0.6.21/include/xtl/xoptional.hpp:682:29:  [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 xoptional<CT, CB>::equal(const CTO& rhs) const noexcept
data/xtl-0.6.21/include/xtl/xoptional.hpp:736:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return e1.equal(e2);
data/xtl-0.6.21/include/xtl/xoptional.hpp:742:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return e1.equal(e2);
data/xtl-0.6.21/include/xtl/xoptional.hpp:748:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return e2.equal(e1);
data/xtl-0.6.21/include/xtl/xoptional.hpp:762:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return !e1.equal(e2);
data/xtl-0.6.21/include/xtl/xoptional.hpp:768:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return !e1.equal(e2);
data/xtl-0.6.21/include/xtl/xoptional.hpp:774:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return !e2.equal(e1);
data/xtl-0.6.21/test/test_xoptional.cpp:92:26:  [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.
        ASSERT_TRUE(std::equal(res.begin(), res.end(), expect.begin()));

ANALYSIS SUMMARY:

Hits = 59
Lines analyzed = 25737 in approximately 0.63 seconds (40619 lines/second)
Physical Source Lines of Code (SLOC) = 19216
Hits@level = [0]   5 [1]  27 [2]  11 [3]   1 [4]  20 [5]   0
Hits@level+ = [0+]  64 [1+]  59 [2+]  32 [3+]  21 [4+]  20 [5+]   0
Hits/KSLOC@level+ = [0+] 3.33056 [1+] 3.07036 [2+] 1.66528 [3+] 1.09284 [4+] 1.0408 [5+]   0
Dot directories skipped = 3 (--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.