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/libcereal-1.3.0/include/cereal/access.hpp
Examining data/libcereal-1.3.0/include/cereal/archives/adapters.hpp
Examining data/libcereal-1.3.0/include/cereal/archives/binary.hpp
Examining data/libcereal-1.3.0/include/cereal/archives/json.hpp
Examining data/libcereal-1.3.0/include/cereal/archives/portable_binary.hpp
Examining data/libcereal-1.3.0/include/cereal/archives/xml.hpp
Examining data/libcereal-1.3.0/include/cereal/cereal.hpp
Examining data/libcereal-1.3.0/include/cereal/details/helpers.hpp
Examining data/libcereal-1.3.0/include/cereal/details/polymorphic_impl.hpp
Examining data/libcereal-1.3.0/include/cereal/details/polymorphic_impl_fwd.hpp
Examining data/libcereal-1.3.0/include/cereal/details/static_object.hpp
Examining data/libcereal-1.3.0/include/cereal/details/traits.hpp
Examining data/libcereal-1.3.0/include/cereal/details/util.hpp
Examining data/libcereal-1.3.0/include/cereal/external/base64.hpp
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/allocators.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/cursorstreamwrapper.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/document.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/encodedstream.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/encodings.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/error/en.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/error/error.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/filereadstream.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/filewritestream.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/fwd.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/biginteger.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/diyfp.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/dtoa.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/ieee754.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/itoa.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/meta.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/pow10.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/regex.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/stack.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/strfunc.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/strtod.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/swap.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/istreamwrapper.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/memorybuffer.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/memorystream.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/msinttypes/inttypes.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/msinttypes/stdint.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/ostreamwrapper.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/pointer.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/prettywriter.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/rapidjson.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/schema.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/stream.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/stringbuffer.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h
Examining data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp
Examining data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml_iterators.hpp
Examining data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml_print.hpp
Examining data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml_utils.hpp
Examining data/libcereal-1.3.0/include/cereal/macros.hpp
Examining data/libcereal-1.3.0/include/cereal/specialize.hpp
Examining data/libcereal-1.3.0/include/cereal/types/array.hpp
Examining data/libcereal-1.3.0/include/cereal/types/atomic.hpp
Examining data/libcereal-1.3.0/include/cereal/types/base_class.hpp
Examining data/libcereal-1.3.0/include/cereal/types/bitset.hpp
Examining data/libcereal-1.3.0/include/cereal/types/boost_variant.hpp
Examining data/libcereal-1.3.0/include/cereal/types/chrono.hpp
Examining data/libcereal-1.3.0/include/cereal/types/common.hpp
Examining data/libcereal-1.3.0/include/cereal/types/complex.hpp
Examining data/libcereal-1.3.0/include/cereal/types/concepts/pair_associative_container.hpp
Examining data/libcereal-1.3.0/include/cereal/types/deque.hpp
Examining data/libcereal-1.3.0/include/cereal/types/forward_list.hpp
Examining data/libcereal-1.3.0/include/cereal/types/functional.hpp
Examining data/libcereal-1.3.0/include/cereal/types/list.hpp
Examining data/libcereal-1.3.0/include/cereal/types/map.hpp
Examining data/libcereal-1.3.0/include/cereal/types/memory.hpp
Examining data/libcereal-1.3.0/include/cereal/types/optional.hpp
Examining data/libcereal-1.3.0/include/cereal/types/polymorphic.hpp
Examining data/libcereal-1.3.0/include/cereal/types/queue.hpp
Examining data/libcereal-1.3.0/include/cereal/types/set.hpp
Examining data/libcereal-1.3.0/include/cereal/types/stack.hpp
Examining data/libcereal-1.3.0/include/cereal/types/string.hpp
Examining data/libcereal-1.3.0/include/cereal/types/tuple.hpp
Examining data/libcereal-1.3.0/include/cereal/types/unordered_map.hpp
Examining data/libcereal-1.3.0/include/cereal/types/unordered_set.hpp
Examining data/libcereal-1.3.0/include/cereal/types/utility.hpp
Examining data/libcereal-1.3.0/include/cereal/types/valarray.hpp
Examining data/libcereal-1.3.0/include/cereal/types/variant.hpp
Examining data/libcereal-1.3.0/include/cereal/types/vector.hpp
Examining data/libcereal-1.3.0/include/cereal/version.hpp
Examining data/libcereal-1.3.0/sandbox/performance.cpp
Examining data/libcereal-1.3.0/sandbox/sandbox.cpp
Examining data/libcereal-1.3.0/sandbox/sandbox_json.cpp
Examining data/libcereal-1.3.0/sandbox/sandbox_rtti.cpp
Examining data/libcereal-1.3.0/sandbox/sandbox_shared_lib/base.cpp
Examining data/libcereal-1.3.0/sandbox/sandbox_shared_lib/base.hpp
Examining data/libcereal-1.3.0/sandbox/sandbox_shared_lib/derived.cpp
Examining data/libcereal-1.3.0/sandbox/sandbox_shared_lib/derived.hpp
Examining data/libcereal-1.3.0/sandbox/sandbox_vs.cpp
Examining data/libcereal-1.3.0/unittests/array.cpp
Examining data/libcereal-1.3.0/unittests/array.hpp
Examining data/libcereal-1.3.0/unittests/atomic.cpp
Examining data/libcereal-1.3.0/unittests/atomic.hpp
Examining data/libcereal-1.3.0/unittests/basic_string.cpp
Examining data/libcereal-1.3.0/unittests/basic_string.hpp
Examining data/libcereal-1.3.0/unittests/bitset.cpp
Examining data/libcereal-1.3.0/unittests/bitset.hpp
Examining data/libcereal-1.3.0/unittests/boost/boost_variant.cpp
Examining data/libcereal-1.3.0/unittests/boost/boost_variant.hpp
Examining data/libcereal-1.3.0/unittests/chrono.cpp
Examining data/libcereal-1.3.0/unittests/chrono.hpp
Examining data/libcereal-1.3.0/unittests/common.hpp
Examining data/libcereal-1.3.0/unittests/complex.cpp
Examining data/libcereal-1.3.0/unittests/complex.hpp
Examining data/libcereal-1.3.0/unittests/cpp17/optional.cpp
Examining data/libcereal-1.3.0/unittests/cpp17/optional.hpp
Examining data/libcereal-1.3.0/unittests/cpp17/variant.cpp
Examining data/libcereal-1.3.0/unittests/cpp17/variant.hpp
Examining data/libcereal-1.3.0/unittests/defer.cpp
Examining data/libcereal-1.3.0/unittests/defer.hpp
Examining data/libcereal-1.3.0/unittests/deque.cpp
Examining data/libcereal-1.3.0/unittests/deque.hpp
Examining data/libcereal-1.3.0/unittests/doctest.h
Examining data/libcereal-1.3.0/unittests/forward_list.cpp
Examining data/libcereal-1.3.0/unittests/forward_list.hpp
Examining data/libcereal-1.3.0/unittests/list.cpp
Examining data/libcereal-1.3.0/unittests/list.hpp
Examining data/libcereal-1.3.0/unittests/load_construct.cpp
Examining data/libcereal-1.3.0/unittests/load_construct.hpp
Examining data/libcereal-1.3.0/unittests/map.cpp
Examining data/libcereal-1.3.0/unittests/map.hpp
Examining data/libcereal-1.3.0/unittests/memory.cpp
Examining data/libcereal-1.3.0/unittests/memory.hpp
Examining data/libcereal-1.3.0/unittests/memory_cycles.cpp
Examining data/libcereal-1.3.0/unittests/memory_cycles.hpp
Examining data/libcereal-1.3.0/unittests/multimap.cpp
Examining data/libcereal-1.3.0/unittests/multimap.hpp
Examining data/libcereal-1.3.0/unittests/multiset.cpp
Examining data/libcereal-1.3.0/unittests/multiset.hpp
Examining data/libcereal-1.3.0/unittests/pair.cpp
Examining data/libcereal-1.3.0/unittests/pair.hpp
Examining data/libcereal-1.3.0/unittests/pod.cpp
Examining data/libcereal-1.3.0/unittests/pod.hpp
Examining data/libcereal-1.3.0/unittests/polymorphic.cpp
Examining data/libcereal-1.3.0/unittests/polymorphic.hpp
Examining data/libcereal-1.3.0/unittests/portability_test.cpp
Examining data/libcereal-1.3.0/unittests/portable_binary_archive.cpp
Examining data/libcereal-1.3.0/unittests/portable_binary_archive.hpp
Examining data/libcereal-1.3.0/unittests/priority_queue.cpp
Examining data/libcereal-1.3.0/unittests/priority_queue.hpp
Examining data/libcereal-1.3.0/unittests/queue.cpp
Examining data/libcereal-1.3.0/unittests/queue.hpp
Examining data/libcereal-1.3.0/unittests/set.cpp
Examining data/libcereal-1.3.0/unittests/set.hpp
Examining data/libcereal-1.3.0/unittests/stack.cpp
Examining data/libcereal-1.3.0/unittests/stack.hpp
Examining data/libcereal-1.3.0/unittests/structs.cpp
Examining data/libcereal-1.3.0/unittests/structs.hpp
Examining data/libcereal-1.3.0/unittests/structs_minimal.cpp
Examining data/libcereal-1.3.0/unittests/structs_minimal.hpp
Examining data/libcereal-1.3.0/unittests/structs_specialized.cpp
Examining data/libcereal-1.3.0/unittests/structs_specialized.hpp
Examining data/libcereal-1.3.0/unittests/tuple.cpp
Examining data/libcereal-1.3.0/unittests/tuple.hpp
Examining data/libcereal-1.3.0/unittests/unordered_loads.cpp
Examining data/libcereal-1.3.0/unittests/unordered_loads.hpp
Examining data/libcereal-1.3.0/unittests/unordered_map.cpp
Examining data/libcereal-1.3.0/unittests/unordered_map.hpp
Examining data/libcereal-1.3.0/unittests/unordered_multimap.cpp
Examining data/libcereal-1.3.0/unittests/unordered_multimap.hpp
Examining data/libcereal-1.3.0/unittests/unordered_multiset.cpp
Examining data/libcereal-1.3.0/unittests/unordered_multiset.hpp
Examining data/libcereal-1.3.0/unittests/unordered_set.cpp
Examining data/libcereal-1.3.0/unittests/unordered_set.hpp
Examining data/libcereal-1.3.0/unittests/user_data_adapters.cpp
Examining data/libcereal-1.3.0/unittests/user_data_adapters.hpp
Examining data/libcereal-1.3.0/unittests/valarray.cpp
Examining data/libcereal-1.3.0/unittests/valarray.hpp
Examining data/libcereal-1.3.0/unittests/vector.cpp
Examining data/libcereal-1.3.0/unittests/vector.hpp
Examining data/libcereal-1.3.0/unittests/versioning.cpp
Examining data/libcereal-1.3.0/unittests/versioning.hpp

FINAL RESULTS:

data/libcereal-1.3.0/include/cereal/access.hpp:240:9:  [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.
  class access
data/libcereal-1.3.0/include/cereal/access.hpp:345: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.
    ::cereal::access::construct( itsPtr, std::forward<Args>( args )... );
data/libcereal-1.3.0/include/cereal/cereal.hpp:481:9:  [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::member_serialize(*self, const_cast<T &>(t));
data/libcereal-1.3.0/include/cereal/cereal.hpp:497:9:  [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::member_save(*self, t);
data/libcereal-1.3.0/include/cereal/cereal.hpp:513:24:  [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.
        self->process( access::member_save_minimal(*self, t) );
data/libcereal-1.3.0/include/cereal/cereal.hpp:588:9:  [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::member_serialize(*self, const_cast<T &>(t), registerClassVersion<T>());
data/libcereal-1.3.0/include/cereal/cereal.hpp:606:9:  [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::member_save(*self, t, registerClassVersion<T>());
data/libcereal-1.3.0/include/cereal/cereal.hpp:624:24:  [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.
        self->process( access::member_save_minimal(*self, t, registerClassVersion<T>()) );
data/libcereal-1.3.0/include/cereal/cereal.hpp:886:9:  [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::member_serialize(*self, t);
data/libcereal-1.3.0/include/cereal/cereal.hpp:902:9:  [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::member_load(*self, t);
data/libcereal-1.3.0/include/cereal/cereal.hpp:921:9:  [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::member_load_minimal(*self, t, value);
data/libcereal-1.3.0/include/cereal/cereal.hpp:1007:9:  [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::member_serialize(*self, t, version);
data/libcereal-1.3.0/include/cereal/cereal.hpp:1027:9:  [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::member_load(*self, t, version);
data/libcereal-1.3.0/include/cereal/cereal.hpp:1050:9:  [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::member_load_minimal(*self, t, value, version);
data/libcereal-1.3.0/include/cereal/details/traits.hpp:194:48:  [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.
      typename detail::Void< decltype( cereal::access::member_##name( std::declval<A&>(), std::declval<T&>() versioned ) ) >::type> : yes {}
data/libcereal-1.3.0/include/cereal/details/traits.hpp:203:52:  [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.
        static auto test(int) -> decltype( cereal::access::member_##name( std::declval<AA&>(), std::declval<TT&>() versioned ), yes()); \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:286:52:  [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.
          typename detail::Void< decltype( cereal::access::member_save( std::declval<AA&>(),                                        \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:293:52:  [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.
          typename detail::Void< decltype( cereal::access::member_save_non_const(                                                   \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:307:52:  [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.
        static auto test(int) -> decltype( cereal::access::member_save( std::declval<AA&>(),                                        \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:313:53:  [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.
        static auto test2(int) -> decltype( cereal::access::member_save_non_const(                                                  \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:433: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.
            cereal::access::member_save_minimal( std::declval<AA const &>(),                                                                      \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:441: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.
            cereal::access::member_save_minimal_non_const( std::declval<AA const &>(),                                                            \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:456:52:  [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.
        static auto test(int) -> decltype( cereal::access::member_save_minimal(                \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:463:53:  [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.
        static auto test2(int) -> decltype( cereal::access::member_save_minimal_non_const(     \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:491: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.
        using type = decltype( cereal::access::member_save_minimal( std::declval<A const &>(),               \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:682: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.
          cereal::access::member_load_minimal( std::declval<A const &>(),                                                     \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:688: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.
            cereal::access::member_load_minimal( std::declval<A const &>(),                                                   \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:699:52:  [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.
        static auto test(int) -> decltype( cereal::access::member_load_minimal(         \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:709:52:  [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.
        static auto test(int) -> decltype( cereal::access::member_load_minimal(         \
data/libcereal-1.3.0/include/cereal/details/traits.hpp:887:32:  [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.
        std::is_same<decltype( access::load_and_construct<T>( std::declval<A&>(), std::declval< ::cereal::construct<T>&>() ) ), void>::value>
data/libcereal-1.3.0/include/cereal/details/traits.hpp:892:32:  [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.
        std::is_same<decltype( access::load_and_construct<T>( std::declval<A&>(), std::declval< ::cereal::construct<T>&>(), 0 ) ), void>::value>
data/libcereal-1.3.0/include/cereal/details/traits.hpp:1205:67:  [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.
        static auto (check)( U const & t ) -> decltype( ::cereal::access::shared_from_this(t), std::true_type() );
data/libcereal-1.3.0/include/cereal/details/traits.hpp:1260:64:  [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.
      struct test<TT, typename detail::Void< decltype( cereal::access::construct<TT>() ) >::type> : yes {};
data/libcereal-1.3.0/include/cereal/details/traits.hpp:1264:50:  [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.
      static auto test(int) -> decltype( cereal::access::construct<TT>(), yes());
data/libcereal-1.3.0/include/cereal/details/traits.hpp:1364: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.
      { return ::cereal::access::construct<T>(); }
data/libcereal-1.3.0/include/cereal/details/traits.hpp:1373:9:  [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::load_and_construct<T>( ar, construct );
data/libcereal-1.3.0/include/cereal/details/traits.hpp:1384:9:  [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::load_and_construct<T>( ar, construct, version );
data/libcereal-1.3.0/include/cereal/specialize.hpp:36:9:  [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.
  class access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:56: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:118: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:135: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:191: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:259:24:  [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 class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:408: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox.cpp:426: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox_json.cpp:55: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox_json.cpp:72: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox_json.cpp:128: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox_json.cpp:281: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox_shared_lib/base.hpp:30: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.
    friend class cereal::access;
data/libcereal-1.3.0/sandbox/sandbox_shared_lib/derived.hpp:9: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/doctest.h:3304:14:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        std::sprintf(buf, fmt, in);                                                                \
data/libcereal-1.3.0/unittests/memory.hpp:117: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_minimal.hpp:38: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_minimal.hpp:63: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:86: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:103: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:120: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:143: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:168: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:191: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/structs_specialized.hpp:214: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/versioning.hpp:56: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.
    friend class cereal::access;
data/libcereal-1.3.0/unittests/doctest.h:5745: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(p->rand_seed);
data/libcereal-1.3.0/include/cereal/archives/json.hpp:466: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( data, decoded.data(), decoded.size() );
data/libcereal-1.3.0/include/cereal/archives/xml.hpp:467: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( data, decoded.data(), decoded.size() );
data/libcereal-1.3.0/include/cereal/external/base64.hpp:52: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.
      unsigned char char_array_3[3];
data/libcereal-1.3.0/include/cereal/external/base64.hpp:53: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.
      unsigned char char_array_4[4];
data/libcereal-1.3.0/include/cereal/external/base64.hpp:94: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.
      unsigned char char_array_4[4], char_array_3[3];
data/libcereal-1.3.0/include/cereal/external/rapidjson/allocators.h:230: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1146: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1947: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1949: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1951: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1984: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1988: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1992: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:1996: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/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:2039: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(static_cast<void*>(e), values, count * sizeof(GenericValue));
data/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:2052: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(static_cast<void*>(m), members, count * sizeof(Member));
data/libcereal-1.3.0/include/cereal/external/rapidjson/document.h:2079: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/libcereal-1.3.0/include/cereal/external/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/libcereal-1.3.0/include/cereal/external/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/libcereal-1.3.0/include/cereal/external/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/libcereal-1.3.0/include/cereal/external/rapidjson/internal/regex.h:459: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/libcereal-1.3.0/include/cereal/external/rapidjson/pointer.h:248: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/libcereal-1.3.0/include/cereal/external/rapidjson/pointer.h:298: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/libcereal-1.3.0/include/cereal/external/rapidjson/pointer.h:831: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/libcereal-1.3.0/include/cereal/external/rapidjson/pointer.h:834: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/libcereal-1.3.0/include/cereal/external/rapidjson/pointer.h:1090: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/libcereal-1.3.0/include/cereal/external/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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:316: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:349: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:385: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:992: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1077: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1078: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1079: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]  = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F };
data/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1140: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1141: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1142: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] = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F };
data/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1188: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1189: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1190: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] = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F };
data/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1807: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/libcereal-1.3.0/include/cereal/external/rapidjson/reader.h:1830: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/libcereal-1.3.0/include/cereal/external/rapidjson/schema.h:467: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[256u + 24];
data/libcereal-1.3.0/include/cereal/external/rapidjson/schema.h:1449: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/libcereal-1.3.0/include/cereal/external/rapidjson/schema.h:2224: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(documentStack_.template Push<char>(basePathSize), basePath, basePathSize);
data/libcereal-1.3.0/include/cereal/external/rapidjson/schema.h:2341: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(sb.Push(CurrentSchema().GetURI().GetStringLength()),
data/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:313: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:322: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:331: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:340: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:368: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:378: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:597: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:598: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/libcereal-1.3.0/include/cereal/external/rapidjson/writer.h:599: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]  = { 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F };
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:299: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.
            static const unsigned char lookup_whitespace[256];              // Whitespace table
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:300: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.
            static const unsigned char lookup_node_name[256];               // Node name table
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:301: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.
            static const unsigned char lookup_text[256];                    // Text table
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:302: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.
            static const unsigned char lookup_text_pure_no_ws[256];         // Text table
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:303: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.
            static const unsigned char lookup_text_pure_with_ws[256];       // Text table
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:304: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.
            static const unsigned char lookup_attribute_name[256];          // Attribute name table
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:305: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.
            static const unsigned char lookup_attribute_data_1[256];        // Attribute data table with single quote
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:306: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.
            static const unsigned char lookup_attribute_data_1_pure[256];   // Attribute data table with single quote
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:307: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.
            static const unsigned char lookup_attribute_data_2[256];        // Attribute data table with double quotes
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:308: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.
            static const unsigned char lookup_attribute_data_2_pure[256];   // Attribute data table with double quotes
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:309: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.
            static const unsigned char lookup_digits[256];                  // Digits
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:310: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.
            static const unsigned char lookup_upcase[256];                  // To uppercase conversion table for ASCII characters
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml.hpp:649: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 m_static_memory[CEREAL_RAPIDXML_STATIC_POOL_SIZE];    // Static raw memory
data/libcereal-1.3.0/include/cereal/types/memory.hpp:147:16:  [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( &itsState, itsPtr, sizeof(ParentType) );
data/libcereal-1.3.0/include/cereal/types/memory.hpp:156: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( static_cast<void *>(itsPtr), &itsState, sizeof(ParentType) );
data/libcereal-1.3.0/include/cereal/types/tuple.hpp:49: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 const char str[sizeof...(Cs) + size];
data/libcereal-1.3.0/unittests/doctest.h:476: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[len];
data/libcereal-1.3.0/unittests/doctest.h:778: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.
        typedef char yes[2];
data/libcereal-1.3.0/unittests/doctest.h:2852:65:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    void my_memcpy(void* dest, const void* src, unsigned num) { memcpy(dest, src, num); }
data/libcereal-1.3.0/unittests/doctest.h:3017: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(buf, other.buf, len);
data/libcereal-1.3.0/unittests/doctest.h:3023: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(data.ptr, other.data.ptr, data.size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3042: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(buf, in, in_size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3049: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(data.ptr, in, in_size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3073: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(buf + my_old_size, other.c_str(), other_size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3079: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(temp, buf, my_old_size); // skip the +1 ('\0') for speed
data/libcereal-1.3.0/unittests/doctest.h:3086: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(data.ptr + my_old_size, other.c_str(), other_size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3092: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(data.ptr + my_old_size, other.c_str(), other_size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3101: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(temp, data.ptr, my_old_size); // skip the +1 ('\0') for speed
data/libcereal-1.3.0/unittests/doctest.h:3108: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(data.ptr + my_old_size, other.c_str(), other_size + 1);
data/libcereal-1.3.0/unittests/doctest.h:3118: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(buf, other.buf, len);
data/libcereal-1.3.0/unittests/doctest.h:3127: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(buf, other.buf, len);
data/libcereal-1.3.0/unittests/doctest.h:3303: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[64];                                                                              \
data/libcereal-1.3.0/unittests/doctest.h:4021: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[4 * SIGSTKSZ];
data/libcereal-1.3.0/unittests/doctest.h:5483:31:  [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 theInt = std::atoi(parsedValue.c_str()); // NOLINT
data/libcereal-1.3.0/unittests/doctest.h:5681: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).
        fstr.open(p->out.c_str(), std::fstream::out);
data/libcereal-1.3.0/include/cereal/archives/json.hpp:530:35:  [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 len = std::strlen( searchName );
data/libcereal-1.3.0/include/cereal/archives/json.hpp:536: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).
                  ( std::strlen( currentName ) == len ) )
data/libcereal-1.3.0/include/cereal/archives/xml.hpp:268: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).
        strValue.resize(std::strlen(strValue.c_str()));
data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/strfunc.h:40: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).
    return SizeType(std::strlen(s));
data/libcereal-1.3.0/include/cereal/external/rapidjson/internal/strfunc.h:45:26:  [1] (buffer) wcslen:
  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 SizeType(std::wcslen(s));
data/libcereal-1.3.0/include/cereal/external/rapidjson/istreamwrapper.h:101:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (!stream_.read(buffer_, static_cast<std::streamsize>(bufferSize_))) {
data/libcereal-1.3.0/include/cereal/external/rapidxml/rapidxml_utils.hpp:45:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            stream.read(&m_data.front(), static_cast<streamsize>(size));
data/libcereal-1.3.0/unittests/doctest.h:3038:22:  [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).
        : String(in, strlen(in)) {}
data/libcereal-1.3.0/unittests/doctest.h:4974:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int sizePrefixDisplay = static_cast<int>(strlen(DOCTEST_OPTIONS_PREFIX_DISPLAY));
data/libcereal-1.3.0/unittests/doctest.h:5382: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).
            if(temp && (value || strlen(temp) == strlen(pattern))) { //!OCLINT prefer early exits and continue
data/libcereal-1.3.0/unittests/doctest.h:5382:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if(temp && (value || strlen(temp) == strlen(pattern))) { //!OCLINT prefer early exits and continue
data/libcereal-1.3.0/unittests/doctest.h:5395: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).
                        temp += strlen(pattern);
data/libcereal-1.3.0/unittests/doctest.h:5396:46:  [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 unsigned len = strlen(temp);
data/libcereal-1.3.0/unittests/doctest.h:5418:50:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if(parseOptionImpl(argc, argv, pattern + strlen(DOCTEST_CONFIG_OPTIONS_PREFIX), value))
data/libcereal-1.3.0/unittests/doctest.h:5439:20:  [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(pch))

ANALYSIS SUMMARY:

Hits = 169
Lines analyzed = 47668 in approximately 1.32 seconds (36246 lines/second)
Physical Source Lines of Code (SLOC) = 30108
Hits@level = [0]  10 [1]  15 [2]  90 [3]   1 [4]  63 [5]   0
Hits@level+ = [0+] 179 [1+] 169 [2+] 154 [3+]  64 [4+]  63 [5+]   0
Hits/KSLOC@level+ = [0+] 5.94526 [1+] 5.61313 [2+] 5.11492 [3+] 2.12568 [4+] 2.09247 [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.